Buckets:
| import Link from 'next/link' | |
| import NextError from 'next/error' | |
| import React from 'react' | |
| export default class Error extends React.Component { | |
| static getInitialProps(ctx) { | |
| const { statusCode } = NextError.getInitialProps(ctx) | |
| return { statusCode: statusCode || null } | |
| } | |
| render() { | |
| return ( | |
| <div> | |
| <div id="errorStatusCode">{this.props.statusCode || 'unknown'}</div> | |
| <p> | |
| <Link href="/" id="errorGoHome"> | |
| go home | |
| </Link> | |
| </p> | |
| </div> | |
| ) | |
| } | |
| } | |
Xet Storage Details
- Size:
- 531 Bytes
- Xet hash:
- 366189a3aefa1dc78afa966d7fb8c1849545d95e79b3be26a5558d37e50111e9
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.