reduce lines

This commit is contained in:
Jonathan Summers-Muir committed 2022-04-10 17:25:12 +08:00
1 parent 26bf02c100
commit 017f61926d
1 file changed
+1 -2
@@ -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(() => {