Skip to content

Commit

Permalink
update component usage
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeKarow committed Aug 24, 2023
1 parent a9678f7 commit c98df62
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/ui/components/data-portal/ServiceEditDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
rem,
Stack,
Text,
Textarea,
Title,
} from '@mantine/core'
import { useForm } from '@mantine/form'
Expand All @@ -24,7 +25,7 @@ import { Icon } from '~ui/icon'
import { trpc as api } from '~ui/lib/trpcClient'
import { DataViewer } from '~ui/other/DataViewer'

import { InlineTextarea, InlineTextInput } from './InlineTextInput'
import { InlineTextInput } from './InlineTextInput'

const useStyles = createStyles((theme) => ({
drawerContent: {
Expand Down Expand Up @@ -200,7 +201,8 @@ const _ServiceEditDrawer = forwardRef<HTMLButtonElement, ServiceEditDrawerProps>
<Drawer.Body className={classes.drawerBody}>
<Stack>
<InlineTextInput fontSize='h2' {...form.getInputProps('serviceName.tsKey.text')} />
<InlineTextarea
<InlineTextInput
component={Textarea}
fontSize='utility4'
autosize
{...form.getInputProps('description.tsKey.text')}
Expand Down

0 comments on commit c98df62

Please sign in to comment.