Skip to content

Commit 6690fe4

Browse files
committed
Fix primary action color
1 parent ab9c250 commit 6690fe4

File tree

1 file changed

+4
-1
lines changed
  • packages/app/src/app/pages/Sandbox/Editor/Header

1 file changed

+4
-1
lines changed

packages/app/src/app/pages/Sandbox/Editor/Header/Actions.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,10 @@ export const Actions = () => {
143143
{author ? (
144144
<Collaborators
145145
renderButton={props => (
146-
<Button variant="primary" {...props}>
146+
<Button
147+
variant={primaryAction === 'Share' ? 'primary' : 'secondary'}
148+
{...props}
149+
>
147150
<EmbedIcon css={css({ height: 3, marginRight: 1 })} /> Share
148151
</Button>
149152
)}

0 commit comments

Comments
 (0)