Skip to content

Commit

Permalink
chore: import useLayoutEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
drizzlesconsin authored Nov 27, 2024
1 parent 32e11c5 commit ec01176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/layout/src/components/PageContainer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
} from 'antd';
import classNames from 'classnames';
import type { ReactNode } from 'react';
import React, { useContext, useEffect, useMemo } from 'react';
import React, { useContext, useLayoutEffect, useMemo } from 'react';
import { RouteContext } from '../../context/RouteContext';
import type { WithFalse } from '../../typing';
import type { FooterToolbarProps } from '../FooterToolbar';
Expand Down

0 comments on commit ec01176

Please sign in to comment.