13 lines
357 B
TypeScript
13 lines
357 B
TypeScript
import React from 'react';
|
|
import Navbar from "../components/navbar";
|
|
|
|
export default ({ location }) => {
|
|
console.log(location);
|
|
return <>
|
|
<Navbar />
|
|
<p>
|
|
In your attempt to search for <code>{location.pathname}</code>, you seem to
|
|
have gotten lost instead. Fret not, for there is always a path <a href="/">home</a>.
|
|
</p>
|
|
</>;
|
|
}; |