mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 12:24:18 +00:00
🔨 refactor: change component ErrorPage name - by @Quangnhankie
:%s
This commit is contained in:
parent
2887e1ddf9
commit
9c69c1cc95
@ -1,9 +1,9 @@
|
||||
import { Layout } from 'src/components/common'
|
||||
import { ErrorPage } from 'src/components/modules/error-page'
|
||||
import { ErrorContent } from 'src/components/modules/error-page'
|
||||
|
||||
export default function NotFound() {
|
||||
return (
|
||||
<ErrorPage/>
|
||||
<ErrorContent/>
|
||||
)
|
||||
}
|
||||
NotFound.Layout = Layout
|
||||
|
@ -1,12 +1,12 @@
|
||||
import Link from 'next/link';
|
||||
import React from 'react';
|
||||
import { ButtonCommon } from 'src/components/common';
|
||||
import s from './ErrorPage.module.scss';
|
||||
import s from './ErrorContent.module.scss';
|
||||
|
||||
interface Props {
|
||||
}
|
||||
|
||||
const ErrorPage = ({ }: Props) => {
|
||||
const ErrorContent = ({ }: Props) => {
|
||||
return (
|
||||
|
||||
<div className={s.wrapper}>
|
||||
@ -26,4 +26,4 @@ const ErrorPage = ({ }: Props) => {
|
||||
)
|
||||
}
|
||||
|
||||
export default ErrorPage
|
||||
export default ErrorContent
|
@ -1 +1 @@
|
||||
export {default as ErrorPage} from './ErrorPage/ErrorPage';
|
||||
export {default as ErrorContent} from './ErrorContent/ErrorContent';
|
Loading…
x
Reference in New Issue
Block a user