diff --git a/components/AppShelf/AddAppShelfItem.tsx b/components/AppShelf/AddAppShelfItem.tsx index 886b661dc..51ca78615 100644 --- a/components/AppShelf/AddAppShelfItem.tsx +++ b/components/AppShelf/AddAppShelfItem.tsx @@ -12,6 +12,7 @@ import { Box, Text, Grid, + Card, } from '@mantine/core'; import { useForm } from '@mantine/hooks'; import { motion } from 'framer-motion'; @@ -30,9 +31,8 @@ export default function AddItemShelfItem(props: any) { name: '', icon: '', url: '', + apiKey: undefined as unknown as string, }, - - validationRules: {}, }); return ( <> @@ -85,7 +85,7 @@ export default function AddItemShelfItem(props: any) { placeholder="http://localhost:8989" value={form.values.url} onChange={(event) => form.setFieldValue('url', event.currentTarget.value)} - error={form.errors.icon && 'Icon url is invalid'} + error={form.errors.url && 'Service url is invalid'} />