|
|
@ -86,15 +86,12 @@ function ViewSnap() { |
|
|
|
url={authorshipPillUrl} |
|
|
|
url={authorshipPillUrl} |
|
|
|
/> |
|
|
|
/> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
<Box |
|
|
|
<Box paddingLeft={4} className="view-snap__toggle-container"> |
|
|
|
paddingLeft={4} |
|
|
|
|
|
|
|
className="snap-settings-card__toggle-container view-snap__toggle-container" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<Tooltip interactive position="bottom" html={t('snapsToggle')}> |
|
|
|
<Tooltip interactive position="bottom" html={t('snapsToggle')}> |
|
|
|
<ToggleButton |
|
|
|
<ToggleButton |
|
|
|
value={snap.enabled} |
|
|
|
value={snap.enabled} |
|
|
|
onToggle={onToggle} |
|
|
|
onToggle={onToggle} |
|
|
|
className="snap-settings-card__toggle-container__toggle-button" |
|
|
|
className="view-snap__toggle-button" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</Tooltip> |
|
|
|
</Tooltip> |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
@ -155,8 +152,8 @@ function ViewSnap() { |
|
|
|
css={{ |
|
|
|
css={{ |
|
|
|
maxWidth: '175px', |
|
|
|
maxWidth: '175px', |
|
|
|
}} |
|
|
|
}} |
|
|
|
onClick={async () => { |
|
|
|
onClick={() => { |
|
|
|
await dispatch(removeSnap(snap)); |
|
|
|
dispatch(removeSnap(snap)); |
|
|
|
}} |
|
|
|
}} |
|
|
|
> |
|
|
|
> |
|
|
|
{t('removeSnap')} |
|
|
|
{t('removeSnap')} |
|
|
|