text: import React from 'react';
  
  import PageError from '../components/PageError';
  import { Button } from '@arch-ui/button';
  import { IssueOpenedIcon } from '@primer/octicons-react';
  
  import { useAdminMeta } from '../providers/AdminMeta';
  
  const ListNotFoundPage = ({ listKey }) => {
    const { adminPath } = useAdminMeta();
  
    return (
      <PageError icon={IssueOpenedIcon}>
        <p>{`The list “${listKey}” does not exist`}</p>
        <Button to={adminPath} variant="ghost">
          Go Home
        </Button>
      </PageError>
    );
  };
  
  export default ListNotFoundPage;
  