Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion playground/src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React, { useCallback } from 'react';
import { Share } from '@icons/Share';
import { useAppContext } from '@components/AppProvider';
import { cssLines } from '@components/Playground/css';
import { stylesheet } from './stylesheet';

export const Header = (): JSX.Element => {
Expand All @@ -16,7 +17,7 @@ export const Header = (): JSX.Element => {
<span>&nbsp;{ '}' }</span>
</div>
<div css={stylesheet.icons}>
{canShare && token && (
{canShare && token && code !== cssLines && (
<button css={stylesheet.button} onClick={shareCallback}>
<Share size={20} />
</button>
Expand Down