Skip to content

Commit

Permalink
refactor(i18n): drop unused imports in useLocale hook
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars authored and bjoerge committed Nov 6, 2023
1 parent f972cce commit f3a0a30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/sanity/src/core/i18n/hooks/useLocale.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {useCallback, useContext, useSyncExternalStore} from 'react'
import {useContext} from 'react'
import {LocaleContext, LocaleContextValue} from '../LocaleContext'
import {useSource} from '../../studio'

/**
* @internal
Expand Down

0 comments on commit f3a0a30

Please sign in to comment.