add axios
This commit is contained in:
@@ -15,7 +15,6 @@ import amplifyconfig from './amplifyconfiguration.json'
|
||||
import stylesheet from './app.css?url'
|
||||
|
||||
Amplify.configure(amplifyconfig)
|
||||
const queryClient = new QueryClient()
|
||||
|
||||
export const links = () => [
|
||||
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
|
||||
@@ -51,6 +50,8 @@ export function Layout({ children }) {
|
||||
}
|
||||
|
||||
export default function App() {
|
||||
const queryClient = new QueryClient()
|
||||
|
||||
return (
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<AuthProvider>
|
||||
@@ -86,6 +87,7 @@ export function ErrorBoundary({ error }) {
|
||||
<main className="pt-16 p-4 container mx-auto">
|
||||
<h1>{message}</h1>
|
||||
<p>{details}</p>
|
||||
|
||||
{stack && (
|
||||
<pre className="w-full p-4 overflow-x-auto">
|
||||
<code>{stack}</code>
|
||||
|
||||
Reference in New Issue
Block a user