Skip to content

Commit

Permalink
chore: remove now useless socket provider (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
JuroUhlar authored Sep 28, 2023
1 parent 78146b9 commit a41c3b9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 55 deletions.
32 changes: 0 additions & 32 deletions src/client/api/socket-provider.js

This file was deleted.

25 changes: 11 additions & 14 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { ThemeProvider } from '../client/theme-provider';
import Head from 'next/head';
import { SnackbarProvider } from 'notistack';
import { SnackbarAction } from '../client/components/snackbar-action';
import { SocketProvider } from '../client/api/socket-provider';
import { FpjsProvider } from '@fingerprintjs/fingerprintjs-pro-react';
import { FP_LOAD_OPTIONS } from '../client/use-visitor-data';
import { Paper } from '@mui/material';
Expand Down Expand Up @@ -51,19 +50,17 @@ function CustomApp({ Component, pageProps }: AppProps<CustomPageProps>) {
vertical: 'bottom',
}}
>
<SocketProvider>
<FpjsProvider loadOptions={FP_LOAD_OPTIONS}>
<Head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<title>Fingerprint Pro Use Cases</title>
</Head>
<DeploymentUtils />
<Layout embed={pageProps.embed}>
<Component {...pageProps} />
</Layout>
</FpjsProvider>
</SocketProvider>
<FpjsProvider loadOptions={FP_LOAD_OPTIONS}>
<Head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<title>Fingerprint Pro Use Cases</title>
</Head>
<DeploymentUtils />
<Layout embed={pageProps.embed}>
<Component {...pageProps} />
</Layout>
</FpjsProvider>
</SnackbarProvider>
</ThemeProvider>
</QueryClientProvider>
Expand Down
9 changes: 0 additions & 9 deletions src/pages/api/socket.js

This file was deleted.

0 comments on commit a41c3b9

Please sign in to comment.