Skip to content

Commit 2765794

Browse files
committed
temp disable token encoder and decoder
1 parent e6968cc commit 2765794

File tree

2 files changed

+8
-28
lines changed

2 files changed

+8
-28
lines changed

src/features/debugger/components/debugger-widget/debugger-widget.component.tsx

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -143,36 +143,16 @@ export const DebuggerWidgetComponent: React.FC<
143143
decoderDictionary={decoderDictionary}
144144
encoderDictionary={encoderDictionary}
145145
/>
146-
{activeWidget$ === DebuggerWidgetValues.DECODER && (
147-
<TokenDecoderComponent
148-
headlineConfig={{ isVisible: false }}
149-
languageCode={languageCode}
150-
dictionary={decoderDictionary}
151-
decodedHeaderInitialTabId={decodedHeaderTabId}
152-
decodedPayloadInitialTabId={decodedPayloadTabId}
153-
decodedHeaderDescriptionVisibility={
154-
decodedHeaderDescriptionVisibility
155-
}
156-
decodedPayloadDescriptionVisibility={
157-
decodedPayloadDescriptionVisibility
158-
}
159-
/>
160-
)}
161-
{activeWidget$ === DebuggerWidgetValues.ENCODER && (
162-
<TokenEncoderComponent
163-
headlineConfig={{ isVisible: false }}
164-
languageCode={languageCode}
165-
dictionary={encoderDictionary}
166-
/>
167-
)}
146+
147+
168148
<DebuggerFeedbackComponent languageCode={languageCode} />
169149
</div>
170150
);
171151
}
172152

173153
return (
174154
<div className={styles.container}>
175-
<TokenDecoderComponent
155+
{/* <TokenDecoderComponent
176156
headlineConfig={{
177157
isVisible: true,
178158
actions: (
@@ -192,9 +172,9 @@ export const DebuggerWidgetComponent: React.FC<
192172
decodedPayloadDescriptionVisibility={
193173
decodedPayloadDescriptionVisibility
194174
}
195-
/>
175+
/> */}
196176
<DebuggerFeedbackComponent languageCode={languageCode} />
197-
<TokenEncoderComponent
177+
{/* <TokenEncoderComponent
198178
headlineConfig={{
199179
isVisible: true,
200180
actions: (
@@ -208,7 +188,7 @@ export const DebuggerWidgetComponent: React.FC<
208188
}}
209189
languageCode={languageCode}
210190
dictionary={encoderDictionary}
211-
/>
191+
/> */}
212192
</div>
213193
);
214194
};

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export const TokenDecoderComponent: React.FC<TokenDecoderComponentProps> = ({
184184
}
185185
contentOutput={
186186
<>
187-
{/* <DecodedHeaderOutputComponent
187+
<DecodedHeaderOutputComponent
188188
languageCode={languageCode}
189189
dictionary={dictionary.decodedHeader}
190190
decodedHeaderInitialTabId={decodedHeaderInitialTabId}
@@ -199,7 +199,7 @@ export const TokenDecoderComponent: React.FC<TokenDecoderComponentProps> = ({
199199
<SecretKeyInputComponent
200200
languageCode={languageCode}
201201
dictionary={dictionary.signatureVerification}
202-
/> */}
202+
/>
203203
</>
204204
}
205205
warnings={null}

0 commit comments

Comments
 (0)