coforma/swift-tech-challenge

View on GitHub
src/app/error/page.tsx

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import { ButtonGroup, GridContainer } from "@trussworks/react-uswds";
import Link from "next/link";

export default function ErrorPage() {
  return (
    <GridContainer>
      There was an error
      <ButtonGroup>
        <Link href="/" className="usa-button">
          Visit homepage
        </Link>
      </ButtonGroup>
    </GridContainer>
  );
}