Skip to content
Snippets Groups Projects
Commit ea0b281a authored by Dickson Law's avatar Dickson Law Committed by Chris Beer
Browse files

Fix round error

Replaced the lines responsible for this error:
```
Warning: Failed prop type: Material-UI: variant="round" was renamed variant="circular" for consistency.
```
parent 77374373
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ describe('WorkspaceAddButton', () => {
const wrapper = createWrapper({ useExtendedFab: false });
expect(extendedWrapper.find(Fab).props().variant).toBe('extended');
expect(wrapper.find(Fab).props().variant).toEqual('round');
expect(wrapper.find(Fab).props().variant).toEqual('circular');
});
});
});
......@@ -30,7 +30,7 @@ export class WorkspaceAddButton extends Component {
}
className={classes.fab}
classes={{ primary: classes.fabPrimary, secondary: classes.fabSecondary }}
variant={useExtendedFab ? 'extended' : 'round'}
variant={useExtendedFab ? 'extended' : 'circular'}
onClick={() => { setWorkspaceAddVisibility(!isWorkspaceAddVisible); }}
>
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment