mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 06:03:15 -04:00
tweaks
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user