Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
chore: translate added to text
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjam-deriv committed Jun 1, 2023
1 parent 6b591cb commit 4d2234a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/features/Apiexplorer/RequestJSONBox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import RequestResponseRenderer from '../RequestResponseRenderer';
import style from './RequestJSONBox.module.scss';
import SubscribeRenderer from '../SubscribeRenderer';
import { TSocketSubscribableEndpointNames } from '@site/src/configs/websocket/types';
import Translate from '@docusaurus/Translate';

interface TRequestJSONBox<T extends TSocketEndpointNames> {
handleChange: React.ChangeEventHandler<HTMLTextAreaElement>;
Expand All @@ -27,7 +28,7 @@ function RequestJSONBox<T extends TSocketEndpointNames>({
<div className={style.playgroundBox}>
<div className={style.formContent}>
<label htmlFor='playground-request' className={style.inlineLabel}>
Request JSON
<Translate>Request JSON</Translate>
</label>
<textarea
id='playground-request'
Expand Down

0 comments on commit 4d2234a

Please sign in to comment.