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:
parent
1d8a33e760
commit
58aea3fb7f
1 changed files with 4 additions and 9 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Reference in a new issue