Fix jwt-token
This commit is contained in:
@@ -82,7 +82,7 @@ const Settings = () => {
|
||||
setTenantConfig(response.data.data);
|
||||
} catch (error) {
|
||||
console.error('Failed to fetch tenant config:', error);
|
||||
toast.error('Failed to load tenant settings');
|
||||
toast.error(t('settings.failedToLoad'));
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
@@ -104,7 +104,7 @@ const Settings = () => {
|
||||
<ShieldCheckIcon className="mx-auto h-12 w-12 text-gray-400" />
|
||||
<h3 className="mt-2 text-sm font-medium text-gray-900">{t('settings.accessDenied')}</h3>
|
||||
<p className="mt-1 text-sm text-gray-500">
|
||||
{t('settings.accessDeniedMessage')}
|
||||
{t('settings.noPermission')}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user