mirror of
https://github.com/movie-web/extension.git
synced 2025-09-13 16:03:25 +00:00
fix ts error, fix styling on PermissionRequest
This commit is contained in:
@@ -28,7 +28,7 @@ function IndexPopup() {
|
||||
) : (
|
||||
<Frame>
|
||||
<div className="popup">
|
||||
{page === 'toggle' ? <ToggleButton active={isWhitelisted} onClick={toggle} domain={domain} /> : null}
|
||||
{page === 'toggle' && domain ? <ToggleButton active={isWhitelisted} onClick={toggle} domain={domain} /> : null}
|
||||
{page === 'disabled' ? <DisabledScreen /> : null}
|
||||
<BottomLabel />
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user