Skip to content

Commit

Permalink
[ez] Remove unused variables for Next.js docs
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-statsig committed Jan 6, 2025
1 parent 9fdd678 commit 8e59893
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ to render the `StatsigProvider` on the client side.

"use client";

import React, { useEffect } from "react";
import React from "react";
import {
LogLevel,
StatsigProvider,
Expand Down Expand Up @@ -95,7 +95,6 @@ There is a [full example](https://github.com/statsig-io/private-js-client-monore
```tsx
// pages/_app.tsx

import { useEffect } from "react";
import type { AppProps } from "next/app";

import {
Expand Down
2 changes: 0 additions & 2 deletions docs/client/javascript-mono/nextjs/_nextJsBootstrap.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ import {
useClientBootstrapInit, // <- Add this
} from "@statsig/react-bindings";
import { StatsigAutoCapturePlugin } from '@statsig/web-analytics';
import React, { useEffect } from "react";

export default function MyStatsig({
children,
Expand Down Expand Up @@ -309,7 +308,6 @@ import {
StatsigUser,
} from "@statsig/react-bindings";
import { runStatsigAutoCapture } from '@statsig/web-analytics';
import React, { useEffect } from "react";

export default function App({ Component, pageProps }: AppProps) {
const clientRef = useRef<StatsigClient | null>();
Expand Down

0 comments on commit 8e59893

Please sign in to comment.