Skip to content

Commit 3ea9f52

Browse files
fix(instructions): hydration error (#147)
1 parent 53c5737 commit 3ea9f52

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/pages/InstructionsPage/components/InstructionTable/ExampleItem.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
padding-top: var(--spacing-xs);
3939
}
4040

41-
.errorConditionText p {
41+
.errorConditionText div {
4242
display: inline;
4343
margin: 0;
4444
}

src/pages/InstructionsPage/components/InstructionTable/ExampleItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ const ExampleItem: React.FC<ExampleItemProps> = ({
120120
</span>
121121
<span>Leads to Exit Code: {example.exit_code}</span>
122122
{exitCondition && (
123-
<p className={styles.errorConditionText}>
123+
<div className={styles.errorConditionText}>
124124
Condition:{" "}
125125
<ReactMarkdown components={markdownComponents}>{exitCondition}</ReactMarkdown>
126-
</p>
126+
</div>
127127
)}
128128
</div>
129129
)}

0 commit comments

Comments
 (0)