Merge branch 'develop' into release
This commit is contained in:
@@ -115,7 +115,7 @@ function Dashboard({ authSession, onSessionUpdate, onLogout }: DashboardProps):
|
|||||||
const activeAppVersion = activeApp
|
const activeAppVersion = activeApp
|
||||||
? activeLocalVersion ?? appStatus?.localVersion ?? appStatus?.latestVersion ?? null
|
? activeLocalVersion ?? appStatus?.localVersion ?? appStatus?.latestVersion ?? null
|
||||||
: null
|
: null
|
||||||
const activeAppDisplayName = appStatus?.displayName || appConfig?.name || activeApp
|
const activeAppDisplayName = appStatus?.displayName || appConfig?.displayName || activeApp
|
||||||
const refreshSession = useCallback(async (): Promise<AuthSession | null> => {
|
const refreshSession = useCallback(async (): Promise<AuthSession | null> => {
|
||||||
const response = await fetch(`${LAUNCHER_API_BASE_URL}/api/auth/refresh`, {
|
const response = await fetch(`${LAUNCHER_API_BASE_URL}/api/auth/refresh`, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|||||||
Reference in New Issue
Block a user