Skip to content

feat(scan): allow users to have toolbar mounted while enabled as false#101

Merged
aidenybai merged 1 commit into
aidenybai:mainfrom
looskie:main
Dec 12, 2024
Merged

feat(scan): allow users to have toolbar mounted while enabled as false#101
aidenybai merged 1 commit into
aidenybai:mainfrom
looskie:main

Conversation

@looskie

@looskie looskie commented Dec 11, 2024

Copy link
Copy Markdown
Contributor

Previously, there was no way to mount the toolbar while having the scanning turned off. Now, providing the config below will allow users to have scanning turned off by default, but still have the toolbar mounted, acting as an opt-in with the toolbar.

scan({
  enabled: false,
  showToolbar: true
});

@vercel

vercel Bot commented Dec 11, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
react-scan ⬜️ Skipped (Inspect) Dec 11, 2024 5:14am

@vercel

vercel Bot commented Dec 11, 2024

Copy link
Copy Markdown

@looskie is attempting to deploy a commit to the Million Team on Vercel.

A member of the Team first needs to authorize it.

@aidenybai

Copy link
Copy Markdown
Owner

ty!!

@aidenybai
aidenybai merged commit 2376f0e into aidenybai:main Dec 12, 2024
hunixcode pushed a commit to hunixcode/react-scan that referenced this pull request Jul 3, 2026
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