mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 15:05:35 +00:00
refactor: use tabs instead of spaces
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
export default function NotFound() {
|
||||
return (
|
||||
<>
|
||||
<div className="container">
|
||||
<div className="title">Page not found</div>
|
||||
return (
|
||||
<>
|
||||
<div className="container">
|
||||
<div className="title">Page not found</div>
|
||||
|
||||
<span>This page does not exist.</span>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
<span>This page does not exist.</span>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
export default function ServerError(props: { error: any }) {
|
||||
return (
|
||||
<>
|
||||
<div className="container">
|
||||
<div className="title">Server Error</div>
|
||||
return (
|
||||
<>
|
||||
<div className="container">
|
||||
<div className="title">Server Error</div>
|
||||
|
||||
<span>{props.error.message}</span>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
<span>{props.error.message}</span>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user