Skip to content

Commit

Permalink
Fix router (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrislav authored Dec 20, 2023
1 parent ec593e5 commit b8f2d00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import ReactDOM from 'react-dom/client'
import '@0xsequence/design-system/styles.css'
import { ThemeProvider } from '@0xsequence/design-system'
import {createBrowserRouter, RouterProvider} from 'react-router-dom'
import {createHashRouter, RouterProvider} from 'react-router-dom'

import Login from './Login.tsx'
import { GoogleOAuthProvider } from '@react-oauth/google'
Expand All @@ -21,7 +21,7 @@ export const sequence = new Sequence({
key: SEQUENCE_API_KEY,
}, defaults.TEMPLATE_NEXT)

export const router = createBrowserRouter([
export const router = createHashRouter([
{
path: '/login',
element: <Login />
Expand Down

0 comments on commit b8f2d00

Please sign in to comment.