Skip to content

Commit

Permalink
fix: handle special characters in vb media name (#3111)
Browse files Browse the repository at this point in the history
  • Loading branch information
KaustubhKumar05 authored Jul 22, 2024
1 parent a22f0a2 commit 9f20f41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Root = ({
border: `4px solid ${isActive ? '$primary_default' : '$surface_dim'}`,
cursor: 'pointer',
'&:hover': { border: '4px solid $primary_dim' },
...(mediaURL ? { height: '$20', backgroundImage: `url(${mediaURL})`, backgroundSize: 'cover' } : {}),
...(mediaURL ? { height: '$20', backgroundImage: `url("${mediaURL}")`, backgroundSize: 'cover' } : {}),
}}
onClick={async () => {
await onClick?.();
Expand Down

0 comments on commit 9f20f41

Please sign in to comment.