mirror of
https://github.com/langgenius/dify.git
synced 2026-05-10 05:56:31 +08:00
tweaks
This commit is contained in:
parent
ab7650d568
commit
80ac0f4ce3
@ -1,7 +1,7 @@
|
||||
/* eslint-disable react/component-hook-factories -- Mirrors foxact's storage hook factory shape. */
|
||||
import type { Dispatch, SetStateAction } from 'react'
|
||||
import { useCallback, useEffect, useLayoutEffect as useLayoutEffectFromReact, useMemo, useSyncExternalStore } from 'react'
|
||||
import { noop } from '../noop'
|
||||
import { noop } from './noop'
|
||||
import 'client-only'
|
||||
|
||||
/*
|
||||
@ -3,8 +3,8 @@ import type {
|
||||
Serializer,
|
||||
UseStorageParserOption,
|
||||
UseStorageRawOption,
|
||||
} from '../create-storage-hook'
|
||||
import { createStorage } from '../create-storage-hook'
|
||||
} from './create-storage-hook'
|
||||
import { createStorage } from './create-storage-hook'
|
||||
import 'client-only'
|
||||
|
||||
export type UseLocalStorageRawOption = UseStorageRawOption
|
||||
Loading…
Reference in New Issue
Block a user