mirror of
https://github.com/linsa-io/linsa.git
synced 2026-03-21 00:29:09 +01:00
chore: reset palette state
This commit is contained in:
@@ -239,12 +239,13 @@ export const useLaEditor = ({
|
||||
...props,
|
||||
}),
|
||||
[
|
||||
me,
|
||||
placeholder,
|
||||
mergedEditorProps,
|
||||
props,
|
||||
throttledSetValue,
|
||||
handleCreate,
|
||||
handleBlur,
|
||||
props,
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
@@ -48,6 +48,7 @@ export function useThrottleCallback<T extends AnyFunction>(
|
||||
)
|
||||
}
|
||||
},
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
[delay, ...deps],
|
||||
) as T
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user