Add domain + add extension id for firefox

This commit is contained in:
mrjvs
2024-01-11 19:31:28 +01:00
parent 06f9f64657
commit 8d7fe1dadf
3 changed files with 9 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ import './ToggleButton.css';
export interface ToggleButtonProps {
onClick?: () => void;
active?: boolean;
domain: string;
}
export function ToggleButton(props: ToggleButtonProps) {
@@ -35,7 +36,7 @@ export function ToggleButton(props: ToggleButtonProps) {
</button>
</div>
<p>
Extension {props.active ? 'enabled' : 'disabled'} <br /> on <strong>movie-web.app</strong>
Extension {props.active ? 'enabled' : 'disabled'} <br /> on <strong>{props.domain}</strong>
</p>
</div>
);