Update src/pages/parts/player/ScrapeErrorPart.tsx

Co-authored-by: William Oldham <github@binaryoverload.co.uk>
This commit is contained in:
Captain Jack Sparrow 2024-03-27 17:26:36 -04:00 committed by GitHub
parent a62c288e1c
commit c220f937bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,10 +51,6 @@ export function ScrapeErrorPart(props: ScrapeErrorPartProps) {
useEffect(() => {
getExtensionState().then((state: ExtensionStatus) => {
setExtensionState(state);
if (state === "disallowed") {
setTitle(t("player.scraping.extensionFailure.disabledTitle"));
setIcon(Icons.LOCK);
}
});
}, [t]);