0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-22 20:20:09 +09:00

Replace "class" to "className"

This commit is contained in:
yude 2021-09-25 21:53:57 +09:00
parent 365559158d
commit c19e797fa4
Signed by: yude
GPG Key ID: EB0FE5D925C4A968

View File

@ -24,7 +24,7 @@ function App (props) {
return <p></p> return <p></p>
}else { }else {
if (data.toString() == "staff") { if (data.toString() == "staff") {
return <span class="inline-flex items-center justify-center px-3 py-2 text-base font-bold leading-none text-indigo-100 bg-indigo-700 rounded ml-3">Staff</span> return <span className="inline-flex items-center justify-center px-3 py-2 text-base font-bold leading-none text-indigo-100 bg-indigo-700 rounded ml-3">Staff</span>
} else { } else {
return <></> return <></>
} }