Sorted out a bunch of reactivity issues
This commit is contained in:
@@ -50,7 +50,8 @@ export const useAuthStore = defineStore('auth', () => {
|
||||
currentUser.value = await account.get();
|
||||
}
|
||||
|
||||
function getUserNameById(id: string) {
|
||||
function getUserNameById(id: string | undefined | null): string {
|
||||
if (!id) return 'No User';
|
||||
try {
|
||||
if (!userNames.value[id]) {
|
||||
userNames.value[id] = '';
|
||||
|
||||
Reference in New Issue
Block a user