Consolidates and renames the app title
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
import {push} from 'svelte-spa-router'
|
||||
import {auth, clearTokens} from '../stores/auth.svelte'
|
||||
import {apiLogout} from '../api/index'
|
||||
import {APP_NAME} from '../config'
|
||||
|
||||
let { title = 'Scavenger Hunt' }: { title?: string } = $props()
|
||||
let { title = APP_NAME }: { title?: string } = $props()
|
||||
|
||||
async function handleLogout() {
|
||||
try {
|
||||
|
||||
2
src/lib/config.ts
Normal file
2
src/lib/config.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// If you change this, also change it in `index.html`
|
||||
export const APP_NAME = 'Scrounge Quest'
|
||||
Reference in New Issue
Block a user