diff --git a/app/components/artifacts.tsx b/app/components/artifacts.tsx index bfd49ff4b..ac0d713b3 100644 --- a/app/components/artifacts.tsx +++ b/app/components/artifacts.tsx @@ -255,7 +255,6 @@ export function Artifacts() { ref={previewRef} autoHeight={false} height={"100%"} - ref={previewRef} onLoad={(title) => { setFileName(title as string); setLoading(false); diff --git a/app/styles/globals.scss b/app/styles/globals.scss index a31bc17de..ea70fe56c 100644 --- a/app/styles/globals.scss +++ b/app/styles/globals.scss @@ -304,7 +304,7 @@ pre { } } - pre{ +pre{ .show-hide-button { border-radius: 10px; position: absolute;