Skip to content

Commit ec01176

Browse files
chore: import useLayoutEffect
1 parent 32e11c5 commit ec01176

File tree

1 file changed

+1
-1
lines changed
  • packages/layout/src/components/PageContainer

1 file changed

+1
-1
lines changed

packages/layout/src/components/PageContainer/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
} from 'antd';
1717
import classNames from 'classnames';
1818
import type { ReactNode } from 'react';
19-
import React, { useContext, useEffect, useMemo } from 'react';
19+
import React, { useContext, useLayoutEffect, useMemo } from 'react';
2020
import { RouteContext } from '../../context/RouteContext';
2121
import type { WithFalse } from '../../typing';
2222
import type { FooterToolbarProps } from '../FooterToolbar';

0 commit comments

Comments
 (0)