Skip to content

Commit

Permalink
feat: Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
nuintun committed Jun 14, 2024
1 parent 13707aa commit 442b020
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/js/pages/403.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const style: React.CSSProperties = {
placeContent: 'center'
};

export default memo(function Page(): React.ReactElement {
export default memo(function Page() {
const navigate = useNavigate();

const onBackHome = useCallback(() => {
Expand Down
2 changes: 1 addition & 1 deletion app/js/pages/404.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const style: React.CSSProperties = {
placeContent: 'center'
};

export default memo(function Page(): React.ReactElement {
export default memo(function Page() {
useTitle('404');

const navigate = useNavigate();
Expand Down
2 changes: 1 addition & 1 deletion app/js/pages/500.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const style: React.CSSProperties = {
placeContent: 'center'
};

export default memo(function Page(): React.ReactElement {
export default memo(function Page() {
const navigate = useNavigate();

const onBackHome = useCallback(() => {
Expand Down
2 changes: 1 addition & 1 deletion app/js/pages/Analysis/User.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Paper from '/js/components/Paper';
import { memo, useCallback, useState } from 'react';
import useAction from '/js/hooks/useAction';
import { memo, useCallback, useState } from 'react';
import { Button, ButtonProps, GetProp, Select, SelectProps, Space } from 'antd';

export default memo(function Page() {
Expand Down

0 comments on commit 442b020

Please sign in to comment.