Don't show skip profile button when not on a video

This commit is contained in:
Ajay
2025-09-18 03:28:14 -04:00
parent 4d74516adc
commit d4995a6357

View File

@@ -163,10 +163,13 @@ export const PopupComponent = () => {
{/* Toggle Box */}
<div className="sbControlsMenu">
{
videoID &&
<SkipProfileButton
videoID={videoID}
setShowForceChannelCheckWarning={setShowForceChannelCheckWarning}
/>
}
<label id="disableExtension" htmlFor="toggleSwitch" className="toggleSwitchContainer sbControlsMenu-item" role="button" tabIndex={0}>
<span className="toggleSwitchContainer-switch">
<input type="checkbox"