Skip to content

Commit 6e0e25f

Browse files
lekterablehuv1k
authored andcommitted
Make new workspace button visible only in electron (#955)
1 parent a220dc0 commit 6e0e25f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/graphql-playground-react/src/components/ProjectsSideNav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class ProjectsSideNav extends React.Component<Props & ReduxProps, {}> {
6767
})}
6868
</div>
6969
</List>
70-
{true && (
70+
{isElectron && (
7171
<Footer>
7272
<WorkspaceButton onClick={onNewWorkspace}>
7373
<AddFullIcon width={14} height={14} strokeWidth={6} />

0 commit comments

Comments
 (0)