0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-31 22:51:25 -05:00

chore(console): remove dev feature guard (#6303)

This commit is contained in:
wangsijie 2024-07-22 16:20:22 +08:00 committed by GitHub
parent 1d8a33e760
commit 58aea3fb7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,6 @@ import { type EditorProps } from '@monaco-editor/react';
import TokenFileIcon from '@/assets/icons/token-file-icon.svg';
import UserFileIcon from '@/assets/icons/user-file-icon.svg';
import { isDevFeaturesEnabled } from '../../../consts/env.js';
import type { ModelSettings } from '../MainContent/MonacoCodeEditor/type.js';
import {
@ -210,14 +209,10 @@ const defaultGrantContext: Partial<JwtCustomizerGrantContext> = {
},
};
export const defaultUserTokenContextData = isDevFeaturesEnabled
? {
user: defaultUserContext,
grant: defaultGrantContext,
}
: {
user: defaultUserContext,
};
export const defaultUserTokenContextData = {
user: defaultUserContext,
grant: defaultGrantContext,
};
export const accessTokenPayloadTestModel: ModelSettings = {
language: 'json',