Skip to content

Commit 7dcf2e8

Browse files
committed
Update YamlViewer.tsx
1 parent 64412df commit 7dcf2e8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/components/Yaml/YamlViewer.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ type YamlViewerProps = {
1515
export const YamlViewer: FC<YamlViewerProps> = ({ yamlString, filename }) => {
1616
return (
1717
<div className={styles.container}>
18-
{/* Use controlled value with a stable model path to update content without remounting */}
19-
2018
<YamlEditor value={yamlString} path={`${filename}.yaml`} options={{ readOnly: true }} />
2119
</div>
2220
);

0 commit comments

Comments
 (0)