Add Winax dependency back. Multiple bug fixes for estimate decoding.

This commit is contained in:
Patrick FIc
2025-03-28 14:56:22 -07:00
parent c33b02f77e
commit bf3f0205d6
12 changed files with 267 additions and 2750 deletions

View File

@@ -46,7 +46,7 @@ const App: React.FC = () => {
<HashRouter>
<ErrorBoundary FallbackComponent={ErrorBoundaryFallback}>
<NotificationProvider>
<Skeleton loading={user === null} active>
<Skeleton loading={user === false} active>
<Layout style={{ minHeight: "100vh" }}>
{!user ? (
<SignInForm />

View File

@@ -0,0 +1,29 @@
import {
ApolloClient,
ApolloLink,
HttpLink,
InMemoryCache,
} from "@apollo/client";
const httpLink: HttpLink = new HttpLink({
uri: import.meta.env.VITE_GRAPHQL_URL,
});
const middlewares = [];
const client: ApolloClient<any> = new ApolloClient({
link: ApolloLink.from(middlewares),
cache: new InMemoryCache(),
defaultOptions: {
watchQuery: {
fetchPolicy: "network-only",
},
query: {
fetchPolicy: "network-only",
},
mutate: {
errorPolicy: "none",
},
},
});
export default client;