Skip to content

Commit

Permalink
removed useEffect used for development
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebLuster committed Jul 5, 2024
1 parent c2becd4 commit b6cef9b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions stories/Components/UIcomponents/Buttons/Switch/Switch.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ export function Switch({
${toggled ? 'switch--toggled' : 'switch--untoggled'}
`;

useEffect(() => {
console.log('toggled', toggled);
}, [toggled]);

return (
<div className={switchClass} onClick={handleToggle} {...args}>
{showLabel && <div className="switch__label">{label}</div>}
Expand Down

0 comments on commit b6cef9b

Please sign in to comment.