Skip to content

Commit

Permalink
fix(core): update ReactNode import
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobonamin committed Dec 13, 2024
1 parent 1549ca5 commit c332acf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Card, Flex, Stack, Text} from '@sanity/ui'
import {motion} from 'framer-motion'
import {memo, useMemo} from 'react'
import {memo, type ReactNode, useMemo} from 'react'
import {styled} from 'styled-components'

import {RelativeTime} from '../../../components/RelativeTime'
Expand Down Expand Up @@ -67,7 +67,7 @@ const ReleaseEventDocumentPreview = ({
)
}

const ScheduleTarget = ({children, event}: {children: React.ReactNode; event: ReleaseEvent}) => {
const ScheduleTarget = ({children, event}: {children: ReactNode; event: ReleaseEvent}) => {
const dateTimeFormat = useDateTimeFormat({dateStyle: 'full', timeStyle: 'medium'})
const {t} = useTranslation(releasesLocaleNamespace)

Expand Down

0 comments on commit c332acf

Please sign in to comment.