mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-28 04:21:50 +01:00
Update src/pages/parts/player/ScrapeErrorPart.tsx
Co-authored-by: William Oldham <github@binaryoverload.co.uk>
This commit is contained in:
parent
a62c288e1c
commit
c220f937bb
@ -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]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user