fix: add specific language in LoadedCode pre

This commit is contained in:
p-sw 2024-06-03 14:27:00 +09:00
parent b2af7a97b2
commit c63bdbed90

View File

@ -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}