mirror of https://gitee.com/answerdev/answer.git
fix: rename page file
This commit is contained in:
parent
af7307d704
commit
ad142a38e5
|
@ -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 () => {
|
|
@ -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 () => {
|
Loading…
Reference in New Issue