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

Only export component for React refresh #1298

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

JunichiSugiura
Copy link
Collaborator

@JunichiSugiura JunichiSugiura commented Jan 20, 2025

This PR fixes all lint warnings such as

warning  Fast refresh only works when a file only exports components. Move your React context(s) to a separate file  react-refresh/only-export-components

Copy link

vercel bot commented Jan 20, 2025

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

Name Status Preview Updated (UTC)
ui-next ✅ Ready (Inspect) Visit Preview Jan 21, 2025 0:01am

@JunichiSugiura JunichiSugiura changed the title Only export component for fast refresh Only export component for React refresh Jan 20, 2025
Copy link
Contributor

🎨 Visual Regression Test Results

❌ Visual differences detected

📦 ui-next

⚠️ Visual Differences Detected

The following components have visual differences that need review:

icons--utility-chromium

icons--utility-chromium


⚠️ Action Required: Please review the visual differences and:

  1. Update the snapshots locally if the changes are intended (scripts/update-storybook-snapshot.sh)
  2. Fix the components if the changes are unintended

Copy link
Contributor

🎨 Visual Regression Test Results

❌ Visual differences detected

📦 ui-next

⚠️ Visual Differences Detected

The following components have visual differences that need review:

icons--utility-chromium

icons--utility-chromium


⚠️ Action Required: Please review the visual differences and:

  1. Update the snapshots locally if the changes are intended (scripts/update-storybook-snapshot.sh)
  2. Fix the components if the changes are unintended

Copy link
Contributor

🎨 Visual Regression Test Results

❌ Visual differences detected

📦 ui-next

⚠️ Visual Differences Detected

The following components have visual differences that need review:

icons--utility-chromium

icons--utility-chromium


⚠️ Action Required: Please review the visual differences and:

  1. Update the snapshots locally if the changes are intended (scripts/update-storybook-snapshot.sh)
  2. Fix the components if the changes are unintended

Copy link
Contributor

🎨 Visual Regression Test Results

❌ Visual differences detected

📦 ui-next

⚠️ Visual Differences Detected

The following components have visual differences that need review:

icons--utility-chromium

icons--utility-chromium


⚠️ Action Required: Please review the visual differences and:

  1. Update the snapshots locally if the changes are intended (scripts/update-storybook-snapshot.sh)
  2. Fix the components if the changes are unintended

Copy link
Contributor

🎨 Visual Regression Test Results

❌ Visual differences detected

📦 ui-next

⚠️ Visual Differences Detected

The following components have visual differences that need review:

icons--utility-chromium

icons--utility-chromium


⚠️ Action Required: Please review the visual differences and:

  1. Update the snapshots locally if the changes are intended (scripts/update-storybook-snapshot.sh)
  2. Fix the components if the changes are unintended

Copy link
Contributor

🎨 Visual Regression Test Results

❌ Visual differences detected

📦 ui-next

⚠️ Visual Differences Detected

The following components have visual differences that need review:

icons--utility-chromium

icons--utility-chromium


⚠️ Action Required: Please review the visual differences and:

  1. Update the snapshots locally if the changes are intended (scripts/update-storybook-snapshot.sh)
  2. Fix the components if the changes are unintended

Copy link
Contributor

🎨 Visual Regression Test Results

❌ Visual differences detected

📦 ui-next

⚠️ Visual Differences Detected

The following components have visual differences that need review:

icons--utility-chromium

icons--utility-chromium


⚠️ Action Required: Please review the visual differences and:

  1. Update the snapshots locally if the changes are intended (scripts/update-storybook-snapshot.sh)
  2. Fix the components if the changes are unintended

1 similar comment
Copy link
Contributor

🎨 Visual Regression Test Results

❌ Visual differences detected

📦 ui-next

⚠️ Visual Differences Detected

The following components have visual differences that need review:

icons--utility-chromium

icons--utility-chromium


⚠️ Action Required: Please review the visual differences and:

  1. Update the snapshots locally if the changes are intended (scripts/update-storybook-snapshot.sh)
  2. Fix the components if the changes are unintended

Copy link
Contributor

🎨 Visual Regression Test Results

❌ Visual differences detected

📦 ui-next

⚠️ Visual Differences Detected

The following components have visual differences that need review:

icons--utility-chromium

icons--utility-chromium


⚠️ Action Required: Please review the visual differences and:

  1. Update the snapshots locally if the changes are intended (scripts/update-storybook-snapshot.sh)
  2. Fix the components if the changes are unintended

@JunichiSugiura JunichiSugiura marked this pull request as ready for review January 20, 2025 10:56
@JunichiSugiura JunichiSugiura requested review from tarrencev, bal7hazar and broody and removed request for tarrencev January 20, 2025 10:56
Copy link
Contributor

🎨 Visual Regression Test Results

❌ Visual differences detected

📦 ui-next

⚠️ Visual Differences Detected

The following components have visual differences that need review:

breadcrumb--custom-separator-chromium

breadcrumb--custom-separator-chromium

badge--tab-chromium

badge--tab-chromium

accordion--default-chromium

accordion--default-chromium

icons--utility-chromium

icons--utility-chromium

breadcrumb--default-chromium

breadcrumb--default-chromium

toggle--default-chromium

toggle--default-chromium


⚠️ Action Required: Please review the visual differences and:

  1. Update the snapshots locally if the changes are intended (scripts/update-storybook-snapshot.sh)
  2. Fix the components if the changes are unintended

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.

1 participant