mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-29 18:13:47 +00:00
Fix ESLint fast-refresh warnings
Refactor to resolve react-refresh/only-export-components warnings: - Move buttonVariants export to separate file (Button.variants.ts) - Extract WebSocketContext to dedicated context file - Move useWebSocketContext hook to separate file - Update imports across affected files All component files now export only components, improving fast refresh reliability
This commit is contained in:
@@ -100,5 +100,3 @@ function LoadingSpinner() {
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
|
||||
export { buttonVariants, type ButtonVariants };
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
export { Button, type ButtonProps, buttonVariants, type ButtonVariants } from './Button';
|
||||
export { Button, type ButtonProps } from './Button';
|
||||
export { buttonVariants, type ButtonVariants } from './Button.variants';
|
||||
|
||||
Reference in New Issue
Block a user