fix: add specific language in LoadedCode pre
This commit is contained in:
parent
b2af7a97b2
commit
c63bdbed90
@ -66,7 +66,7 @@ export const LoadedCode = forwardRef<
|
|||||||
</svg>
|
</svg>
|
||||||
</Button>
|
</Button>
|
||||||
<pre
|
<pre
|
||||||
className={`relative hljs w-full h-64 rounded-lg ${
|
className={`relative hljs w-full h-64 rounded-lg language-tsx ${
|
||||||
!state ? "animate-pulse" : ""
|
!state ? "animate-pulse" : ""
|
||||||
}`}
|
}`}
|
||||||
ref={ref}
|
ref={ref}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user