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