feat: handle basic routes (#1784)

This commit is contained in:
Mo
2022-10-13 09:08:03 -05:00
committed by GitHub
parent 794ed7f7d4
commit 3cb016ab1f
27 changed files with 391 additions and 140 deletions

View File

@@ -160,10 +160,6 @@ export const isEmailValid = (email: string): boolean => {
return EMAIL_REGEX.test(email)
}
export const getWindowUrlParams = (): URLSearchParams => {
return new URLSearchParams(window.location.search)
}
export const openInNewTab = (url: string) => {
const newWindow = window.open(url, '_blank', 'noopener,noreferrer')
if (newWindow) {