mirror of
https://github.com/movie-web/extension.git
synced 2025-09-13 13:13:24 +00:00
cleanup
This commit is contained in:
@@ -16,7 +16,7 @@ export default function PermissionGrant() {
|
|||||||
|
|
||||||
const redirectBack = () => {
|
const redirectBack = () => {
|
||||||
chrome.tabs.getCurrent((tab) => {
|
chrome.tabs.getCurrent((tab) => {
|
||||||
chrome.tabs.update(tab.id, { url: queryParams.get('redirectUrl') ?? 'https://movie-web.app' });
|
chrome.tabs.update(tab.id, { url: redirectUrl });
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user