Fixed all type issues that were flagged in the IDE

This commit is contained in:
Francisco Gaona
2025-11-25 22:11:59 +01:00
parent 150edfaf41
commit 98a7edc665
12 changed files with 13378 additions and 298 deletions

View File

@@ -8,7 +8,7 @@ export const useApi = () => {
}
// Add tenant ID from localStorage or state
if (process.client) {
if (import.meta.client) {
const tenantId = localStorage.getItem('tenantId')
if (tenantId) {
headers['x-tenant-id'] = tenantId