fix: rename page file

This commit is contained in:
shuai 2023-03-24 17:25:39 +08:00
parent af7307d704
commit ad142a38e5
2 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,3 @@
/* eslint-disable import/no-unresolved */
import { useEffect } from 'react';
import { Container } from 'react-bootstrap';
@ -7,7 +6,7 @@ import { HttpErrorContent } from '@/components';
const Index = () => {
useEffect(() => {
// auto height of container
const pageWrap = document.querySelector('.page-wrap');
const pageWrap = document.querySelector('.page-wrap') as HTMLElement;
pageWrap.style.display = 'contents';
return () => {

View File

@ -1,4 +1,3 @@
/* eslint-disable import/no-unresolved */
import { useEffect } from 'react';
import { Container } from 'react-bootstrap';
@ -7,7 +6,7 @@ import { HttpErrorContent } from '@/components';
const Index = () => {
useEffect(() => {
// auto height of container
const pageWrap = document.querySelector('.page-wrap');
const pageWrap = document.querySelector('.page-wrap') as HTMLElement;
pageWrap.style.display = 'contents';
return () => {