Skip to content

Commit

Permalink
chore: swap in pre-release of @hashicorp/react-error-view
Browse files Browse the repository at this point in the history
  • Loading branch information
zchsh committed Jan 20, 2022
1 parent aca30a8 commit 26bdfa3
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 97 deletions.
40 changes: 0 additions & 40 deletions website/components/error-view/index.tsx

This file was deleted.

25 changes: 0 additions & 25 deletions website/components/error-view/style.module.css

This file was deleted.

29 changes: 0 additions & 29 deletions website/components/error-view/use-error-page-analytics.ts

This file was deleted.

16 changes: 16 additions & 0 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@hashicorp/react-code-block": "^4.1.5",
"@hashicorp/react-consent-manager": "^7.1.0",
"@hashicorp/react-docs-page": "^14.12.0",
"@hashicorp/react-error-view": "^0.0.1-canary-2022020214421",
"@hashicorp/react-hashi-stack-menu": "^2.1.2",
"@hashicorp/react-head": "^3.1.2",
"@hashicorp/react-inline-svg": "^6.0.3",
Expand Down
2 changes: 1 addition & 1 deletion website/pages/404.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ErrorView from 'components/error-view'
import ErrorView from '@hashicorp/react-error-view'

export default function FourOhFour() {
return <ErrorView statusCode={404} />
Expand Down
2 changes: 1 addition & 1 deletion website/pages/500.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ErrorView from 'components/error-view'
import ErrorView from '@hashicorp/react-error-view'

export default function FiveHundred() {
return <ErrorView statusCode={500} />
Expand Down
2 changes: 1 addition & 1 deletion website/pages/_error.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import ErrorView from 'components/error-view'
import ErrorView from '@hashicorp/react-error-view'
import Bugsnag from '@hashicorp/platform-runtime-error-monitoring'

function Error({ statusCode }) {
Expand Down

0 comments on commit 26bdfa3

Please sign in to comment.