fix: warnings in code

This commit is contained in:
Manuel committed 2026-03-27 18:12:27 +01:00
1 parent 2fefd9da01
commit 4f2b8217f8
12 files changed
+7 -20

No files matched your search

@@ -94,7 +94,6 @@ const createSpotlightContext = (displayName: string) => {
context.unregisterItems(key);
};
// We ignore the results
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [...dependencyArray, key]);
};
+2 -2
View File
@@ -9,6 +9,6 @@ export const sanitizeRedirectionUrl = (url?: string) => {
if (url && url.startsWith("/") && !url.startsWith("//")) {
return url;
} else {
return '/'; // Safe default
return "/"; // Safe default
}
}
};
-1
View File
@@ -79,7 +79,6 @@ const Feed = ({ options }: Pick<WidgetComponentProps<"video">, "options">) => {
],
});
// All other properties are updated with other useEffect
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [videoRef]);
useEffect(() => {