Skip to content

Commit

Permalink
Fix missing useLayoutEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeaun committed Sep 1, 2023
1 parent 852bb27 commit 062f42a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/pages/notifications.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ import './notifications.css';

import { useIdle } from '@uidotdev/usehooks';
import { memo } from 'preact/compat';
import { useCallback, useEffect, useRef, useState } from 'preact/hooks';
import {
useCallback,
useEffect,
useLayoutEffect,
useRef,
useState,
} from 'preact/hooks';
import { useSearchParams } from 'react-router-dom';
import { useSnapshot } from 'valtio';

Expand Down

0 comments on commit 062f42a

Please sign in to comment.