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 */} {/* Toggle Box */}
<div className="sbControlsMenu"> <div className="sbControlsMenu">
<SkipProfileButton {
videoID={videoID} videoID &&
setShowForceChannelCheckWarning={setShowForceChannelCheckWarning} <SkipProfileButton
/> videoID={videoID}
setShowForceChannelCheckWarning={setShowForceChannelCheckWarning}
/>
}
<label id="disableExtension" htmlFor="toggleSwitch" className="toggleSwitchContainer sbControlsMenu-item" role="button" tabIndex={0}> <label id="disableExtension" htmlFor="toggleSwitch" className="toggleSwitchContainer sbControlsMenu-item" role="button" tabIndex={0}>
<span className="toggleSwitchContainer-switch"> <span className="toggleSwitchContainer-switch">
<input type="checkbox" <input type="checkbox"