put single quote in jsx into string literal

This commit is contained in:
myl7
2022-02-08 18:08:51 +08:00
parent 09c67f4870
commit da0fdec142
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ const FourOhFour: React.FC<{ errorMsg: string }> = ({ errorMsg }) => {
<div className="mt-6 text-gray-500 max-w-xl mx-auto">
<div className="text-xl font-bold mb-8">
<Trans>
Oops, that's a <span className="underline decoration-wavy decoration-red-500">four-oh-four</span>.
Oops, that{"'"}s a <span className="underline decoration-wavy decoration-red-500">four-oh-four</span>.
</Trans>
</div>
<div className="font-mono border border-gray-400/20 rounded p-2 mb-4 text-xs bg-gray-50 dark:bg-gray-800">