Skip to content

Commit

Permalink
use shim instead of default import
Browse files Browse the repository at this point in the history
  • Loading branch information
MateoKruk committed Oct 31, 2024
1 parent eab8e0f commit b28c59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmdk/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as React from 'react'
import { commandScore } from './command-score'
import { Primitive } from '@radix-ui/react-primitive'
import { useId } from '@radix-ui/react-id'
import { useSyncExternalStore } from 'use-sync-external-store'
import { useSyncExternalStore } from 'use-sync-external-store/shim'

type Children = { children?: React.ReactNode }
type DivProps = React.ComponentPropsWithoutRef<typeof Primitive.div>
Expand Down

0 comments on commit b28c59c

Please sign in to comment.