Skip to content

Commit

Permalink
feat: remove add new brain button
Browse files Browse the repository at this point in the history
  • Loading branch information
mamadoudicko committed Aug 21, 2023
1 parent 4f75048 commit 01b898a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { Popover } from "@draft-js-plugins/mention";
import { PopoverProps } from "@draft-js-plugins/mention/lib/MentionSuggestions/Popover";

import { AddNewBrainButton } from "./AddNewBrainButton";

export const SuggestionsContainer = ({
children,
...popoverProps
Expand All @@ -15,7 +13,6 @@ export const SuggestionsContainer = ({
className="bg-white dark:bg-black border border-black/10 dark:border-white/25 rounded-md shadow-md overflow-y-auto"
>
{children}
<AddNewBrainButton />
</div>
</Popover>
);
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const useMentionPlugin = (props: MentionPluginProps) => {
}}
/>
),

popperOptions: {
placement: "top-end",
modifiers: [
Expand Down

0 comments on commit 01b898a

Please sign in to comment.