import { LinksFunction } from '@remix-run/node' import { Link, Links, Meta, Outlet, Scripts, ScrollRestoration, useLocation, useRouteError, } from '@remix-run/react' import stylesheet from '~/tailwind.css?url' import { PropsWithChildren, useEffect } from 'react' export const ErrorBoundary = () => { const error = useRouteError() return
Something went wrong. Please try again later.
} export const links: LinksFunction = () => [{ rel: 'stylesheet', href: stylesheet }] export function Layout({ children }: PropsWithChildren) { return (
{children}
) } function App() { return ( ) } export default App