mirror of
https://github.com/yude-jp/yude.jp
synced 2026-10-24 00:05:11 +09:00
Replace "class" to "className"
This commit is contained in:
1 file changed
+1
-1
@@ -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 <></>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user