Skip to content

Commit

Permalink
Rename classes of error pages
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownskl committed Feb 13, 2024
1 parent a54972f commit bb1846a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions renderer/pages/404.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import Head from 'next/head'

function Error() {
function Error404Page() {
return (
<React.Fragment>
<Head>
Expand All @@ -13,4 +13,4 @@ function Error() {
)
}

export default Error
export default Error404Page
4 changes: 2 additions & 2 deletions renderer/pages/500.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import Head from 'next/head'

function Error() {
function Error500Page() {
return (
<React.Fragment>
<Head>
Expand All @@ -13,4 +13,4 @@ function Error() {
)
}

export default Error
export default Error500Page

0 comments on commit bb1846a

Please sign in to comment.