Skip to content

Commit

Permalink
fix(native-app): use correct openBrowser function for login screen (#…
Browse files Browse the repository at this point in the history
…15397)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
thoreyjona and kodiakhq[bot] authored Jul 1, 2024
1 parent 3b16e5c commit ac05f77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/native/app/src/screens/login/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
import { NavigationFunctionComponent } from 'react-native-navigation'
import styled from 'styled-components/native'
import logo from '../../assets/logo/logo-64w.png'
import { openBrowser } from '../../lib/rn-island'
import { useBrowser } from '../../lib/useBrowser'
import { useAuthStore } from '../../stores/auth-store'
import { preferencesStore } from '../../stores/preferences-store'
import { nextOnboardingStep } from '../../utils/onboarding'
Expand Down Expand Up @@ -68,6 +68,7 @@ function getChromeVersion(): Promise<number> {

export const LoginScreen: NavigationFunctionComponent = ({ componentId }) => {
const authStore = useAuthStore()
const { openBrowser } = useBrowser()
const intl = useIntl()
const [isLoggingIn, setIsLoggingIn] = useState(false)
const [authState, setAuthState] = useState<{
Expand Down

0 comments on commit ac05f77

Please sign in to comment.