Skip to content

Commit 3b5f793

Browse files
committed
temp disable input component
1 parent 7db266c commit 3b5f793

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/features/decoder/components/jwt-input.component.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@ export const JwtInputComponent: React.FC<JwtInputComponentProps> = ({
107107
),
108108
}}
109109
>
110+
{autoFocusEnabled !== undefined ? (
111+
<JwtEditorComponent
112+
token={token}
113+
handleJwtChange={handleJwtChange}
114+
autoFocus={autoFocusEnabled}
115+
/>
116+
) : null}
110117
</CardComponent>
111118
</>
112119
);

src/features/decoder/components/token-decoder.component.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,7 @@ export const TokenDecoderComponent: React.FC<TokenDecoderComponentProps> = ({
177177
description={dictionary.description}
178178
exampleGenerator={dictionary.exampleGenerator}
179179
contentInput={
180-
<JwtInputComponent
181-
dictionary={dictionary.jwtEditor}
182-
languageCode={languageCode}
183-
/>
180+
<></>
184181
}
185182
contentOutput={
186183
<>

0 commit comments

Comments
 (0)