Fix jwt-token
This commit is contained in:
@@ -2,6 +2,7 @@ import React, { useState, useEffect } from 'react';
|
||||
import { useAuth } from '../contexts/AuthContext';
|
||||
import api from '../services/api';
|
||||
import toast from 'react-hot-toast';
|
||||
import { t } from '../utils/tempTranslations';
|
||||
import {
|
||||
CogIcon,
|
||||
ShieldCheckIcon,
|
||||
@@ -90,6 +91,7 @@ const Settings = () => {
|
||||
return (
|
||||
<div className="min-h-screen flex items-center justify-center">
|
||||
<div className="animate-spin rounded-full h-12 w-12 border-b-2 border-primary-600"></div>
|
||||
<span className="ml-4 text-gray-600">{t('settings.loading')}</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -115,7 +117,7 @@ const Settings = () => {
|
||||
<div className="border-b border-gray-200">
|
||||
<div className="sm:flex sm:items-baseline">
|
||||
<h3 className="text-lg leading-6 font-medium text-gray-900">
|
||||
Tenant Settings
|
||||
{t('settings.title')}
|
||||
</h3>
|
||||
<div className="mt-4 sm:mt-0 sm:ml-10">
|
||||
<nav className="-mb-px flex space-x-8">
|
||||
|
||||
Reference in New Issue
Block a user