diff --git a/src/app/(main)/boards/[boardId]/BoardComponentSelect.tsx b/src/app/(main)/boards/[boardId]/BoardComponentSelect.tsx index bb38d9bad..02ab85c77 100644 --- a/src/app/(main)/boards/[boardId]/BoardComponentSelect.tsx +++ b/src/app/(main)/boards/[boardId]/BoardComponentSelect.tsx @@ -1,5 +1,6 @@ -import { Box, Button, Column, Focusable, ListItem, Row, Select, Text } from '@umami/react-zen'; +import { Button, Column, Focusable, ListItem, Row, Select, Text } from '@umami/react-zen'; import { useState } from 'react'; +import { Panel } from '@/components/common/Panel'; import { useMessages } from '@/components/hooks'; import type { BoardComponentConfig } from '@/lib/types'; import { @@ -112,7 +113,7 @@ export function BoardComponentSelect({ {selectedDef?.configFields && selectedDef.configFields.length > 0 && ( - + {selectedDef.configFields.map((field: ConfigField) => ( @@ -134,14 +135,7 @@ export function BoardComponentSelect({ ))} )} - + {previewConfig && websiteId ? ( ) : ( @@ -151,10 +145,10 @@ export function BoardComponentSelect({ )} - + - +