We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a171c49 commit bf1f452Copy full SHA for bf1f452
src/reactUtils.js
@@ -64,7 +64,7 @@ export function useDebugAssertConstant<T>(value: T) {
64
export const useHasStayedTrueForMs = (value: boolean, duration: number): boolean => {
65
useDebugAssertConstant(duration);
66
67
- const [result, setResult] = useState<boolean>(false);
+ const [result, setResult] = useState(false);
68
69
useEffect(() => {
70
if (value) {
0 commit comments