You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
209 B

2 years ago
2 years ago
  1. "use strict";
  2. const React = require("react");
  3. const Layout = require("./layout");
  4. module.exports = function Error({ error }) {
  5. return (
  6. <Layout>
  7. <pre>
  8. {error.message}
  9. </pre>
  10. </Layout>
  11. );
  12. };