Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added sidebar logging #2456

Merged
merged 1 commit into from
Jan 4, 2025
Merged

added sidebar logging #2456

merged 1 commit into from
Jan 4, 2025

Conversation

brock-statsig
Copy link
Contributor

No description provided.

@brock-statsig brock-statsig enabled auto-merge (squash) January 4, 2025 00:24
@@ -0,0 +1,20 @@
import React, { useEffect, useLayoutEffect } from 'react';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Statsig import appears to be missing. Please add:

import Statsig from '@statsig/js-client';

This import is required since Statsig.instance() is called in the useLayoutEffect hook.

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

@jasonwzm
Copy link
Member

jasonwzm commented Jan 4, 2025

@jasonwzm jasonwzm temporarily deployed to pull request January 4, 2025 00:28 Inactive
@brock-statsig brock-statsig merged commit 32ecdee into main Jan 4, 2025
3 checks passed
@brock-statsig brock-statsig deleted the log-if-sidebar-doesnt-exist branch January 4, 2025 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants