Skip to content

Commit

Permalink
fix: add ref to pre element in ToastCodeBlock component
Browse files Browse the repository at this point in the history
  • Loading branch information
pheralb committed Aug 1, 2024
1 parent 5bb85e5 commit 40018fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions website/app/components/examples/toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const ToastCodeBlock = (props: CodeBlockProps) => {
}}
data-language="ts"
data-theme="vesper"
ref={preRef}
>
<code
data-language="ts"
Expand Down

0 comments on commit 40018fa

Please sign in to comment.