Skip to content
Snippets Groups Projects
Commit b445b1d3 authored by Chris Lawton's avatar Chris Lawton
Browse files

swap position of round switcher buttons

parent 3424d5c1
No related branches found
No related tags found
No related merge requests found
......@@ -25,8 +25,8 @@ class Switcher extends React.Component {
return ReactDOM.createPortal(
<>
<button className={`button button--switcher ${open ? 'is-active' : ''}`} onClick={handleOpen} aria-label="Show grid"><ArrayIcon /></button>
<button className={`button button--switcher ${open ? '' : 'is-active'}`} onClick={handleClose} aria-label="Show table"><GridIcon /></button>
<button className={`button button--switcher ${open ? 'is-active' : ''}`} onClick={handleOpen} aria-label="Show grid"><ArrayIcon /></button>
</>,
this.el,
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment