mirror of
https://github.com/honojs/hono.git
synced 2024-11-22 02:27:49 +01:00
fix(types): useSyncExternalStore type (#3437)
Align with react note: the parameter is not used in function body
This commit is contained in:
parent
4878fcf57c
commit
ad0bba0964
@ -396,7 +396,7 @@ export const useImperativeHandle = <T>(
|
||||
}
|
||||
|
||||
export const useSyncExternalStore = <T>(
|
||||
subscribe: (callback: (value: T) => void) => () => void,
|
||||
subscribe: (callback: () => void) => () => void,
|
||||
getSnapshot: () => T,
|
||||
getServerSnapshot?: () => T
|
||||
): T => {
|
||||
|
Loading…
Reference in New Issue
Block a user