Fixed all type issues that were flagged in the IDE
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user