fix: resolve ReferenceError by using tenants state instead of constant
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m10s
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m10s
This commit is contained in:
@@ -200,7 +200,7 @@ export const SuperAdmin: React.FC = () => {
|
|||||||
onChange={(e) => setSelectedTenantId(e.target.value)}
|
onChange={(e) => setSelectedTenantId(e.target.value)}
|
||||||
>
|
>
|
||||||
<option value="all">Todas Organizações</option>
|
<option value="all">Todas Organizações</option>
|
||||||
{TENANTS.map(t => <option key={t.id} value={t.id}>{t.name}</option>)}
|
{tenants.map(t => <option key={t.id} value={t.id}>{t.name}</option>)}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user