Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

reduce lines

Jonathan Summers-Muir3d74208e21c3
diff --git a/studio/components/interfaces/App/RouteValidationWrapper.tsx b/studio/components/interfaces/App/RouteValidationWrapper.tsx
index c2b2059c356..7f6ee8a7949 100644
--- a/studio/components/interfaces/App/RouteValidationWrapper.tsx
+++ b/studio/components/interfaces/App/RouteValidationWrapper.tsx
@@ -32,8 +32,7 @@ const RouteValidationWrapper: FC = ({ children }) => {
* @returns a boolean
*/
function isExceptUrl() {
- const found = excemptUrls.includes(router?.pathname)
- return found
+ return excemptUrls.includes(router?.pathname)
}
useEffect(() => {