silverwolf-x's picture
download
raw
518 Bytes
import "../styles/globals.css";
import type { AppProps } from "next/app";
import { ConvexProvider, ConvexReactClient } from "convex/react";
const address = process.env.NEXT_PUBLIC_CONVEX_URL;
if (!address) {
throw new Error("Convex deployment url not found in environment.");
}
const convex = new ConvexReactClient(address);
function MyApp({ Component, pageProps }: AppProps) {
return (
<ConvexProvider client={convex}>
<Component {...pageProps} />
</ConvexProvider>
);
}
export default MyApp;

Xet Storage Details

Size:
518 Bytes
·
Xet hash:
ee7785d8922b8a129362dcd09b9018c0b5586653243464e0cc599f1149b45eae

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.