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

Commit 1c8bf3b

Browse files
fix: resolve comments
1 parent 753b9f1 commit 1c8bf3b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/features/Apiexplorer/Schema/RecursiveContent/RecursiveProperties/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const RecursiveProperties = ({ is_open, properties, value, jsonSchema }: TRecurs
4444
key_value={key}
4545
properties={properties}
4646
jsonSchema={jsonSchema}
47-
is_stream_types={true}
47+
is_stream_types
4848
/>
4949
) : (
5050
<SchemaObjectContent key={key} key_value={key} properties={properties} />

src/features/Apiexplorer/Schema/RecursiveContent/SchemaBodyHeader/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ const SchemaBodyHeader = ({
121121

122122
{is_stream_types && (
123123
<div className={styles.schemaObjectContent}>
124-
<span className={styles.enumLabel}>{'one of'}</span>
125-
<button onClick={() => setIsOpenObject(!is_open_object)}>{'stream_types'}</button>
126-
<span className={`${styles.enumType} ${styles.array}`}>{'array'}</span>
124+
<span className={styles.enumLabel}>one of</span>
125+
<button onClick={() => setIsOpenObject(!is_open_object)}>stream_types</button>
126+
<span className={`${styles.enumType} ${styles.array}`}>array</span>
127127
</div>
128128
)}
129129

src/features/Apiexplorer/Schema/RecursiveContent/StreamTypesObject/StreamTypesHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ type TStreamTypesHeader = {
99
const StreamTypesHeader = ({ description }: TStreamTypesHeader) => {
1010
return (
1111
<div className={styles.streamTypesHeader}>
12-
<SchemaTitle className={styles.streamTypesTitle}>{'stream_types'}</SchemaTitle>
12+
<SchemaTitle className={styles.streamTypesTitle}>stream_types</SchemaTitle>
1313
<div className={styles.streamTypesDescription}>
1414
<div>{description}</div>
1515
</div>

src/features/Apiexplorer/Schema/Schema.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@
310310
&:hover {
311311
> .sourceButtonMain {
312312
opacity: 1;
313-
margin: 10px;
313+
margin: rem(1);
314314
}
315315
}
316316

0 commit comments

Comments
 (0)