authStore undefined check

This commit is contained in:
Adria Navarro 2024-04-03 15:37:00 +02:00
parent 03374f3abf
commit dc91aba52c
1 changed files with 2 additions and 2 deletions

View File

@ -23,6 +23,6 @@
label="Components"
value={$componentStore.mountedComponentCount}
/>
<DevToolsStat label="User" value={$authStore.email} />
<DevToolsStat label="Role" value={$authStore.roleId} />
<DevToolsStat label="User" value={$authStore?.email} />
<DevToolsStat label="Role" value={$authStore?.roleId} />
</Layout>