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(() => {