diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-04-12 15:48:47 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-04-12 15:48:47 +0200 |
| commit | ff3a251e75fafce7d95177010401483127973313 (patch) | |
| tree | 9a0c9e0ff3f8525bf138287b41ac0527551389fd /src/components/atoms/icons/hamburger.test.tsx | |
| parent | 714273556f5278746a4022d0e87153ff431a61cf (diff) | |
chore: add a MainNavButton component
I also move the active state from the hamburger to this pseudo-button.
It makes more sense that the button handles the icon shape.
Diffstat (limited to 'src/components/atoms/icons/hamburger.test.tsx')
| -rw-r--r-- | src/components/atoms/icons/hamburger.test.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/atoms/icons/hamburger.test.tsx b/src/components/atoms/icons/hamburger.test.tsx index f8a3c04..7173a23 100644 --- a/src/components/atoms/icons/hamburger.test.tsx +++ b/src/components/atoms/icons/hamburger.test.tsx @@ -3,7 +3,7 @@ import Hamburger from './hamburger'; describe('Hamburger', () => { it('renders a Hamburger icon', () => { - const { container } = render(<Hamburger isActive={false} />); + const { container } = render(<Hamburger />); expect(container).toBeDefined(); }); }); |
