Skip to content

Instantly share code, notes, and snippets.

View brunocrosier's full-sized avatar
👋
Available for freelance projects

Bruno Crosier brunocrosier

👋
Available for freelance projects
View GitHub Profile
type WalletAddressProps = {
value: string;
headCount?: number;
tailCount?: number;
separator?: string;
};
function valueToOutput({
value,
headCount = 4,
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@brunocrosier
brunocrosier / _app.tsx
Created February 21, 2021 19:25
Mock _app.tsx file for next-auth + apollo
import { ApolloProvider } from "@apollo/client";
import Layout from "components/Layout";
import { useApollo } from "lib/apolloClient";
import { Provider as NextAuthProvider } from "next-auth/client";
import { AppProps } from "next/app";
import "./styles.css";
const App = ({ Component, pageProps }: AppProps) => {
const { session } = pageProps;