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:
parent
eb46a60119
commit
971be8ab25
@ -54,8 +54,8 @@ function App (props) {
|
|||||||
} else {
|
} else {
|
||||||
let dateTime = new Date(parseInt(data.toString()) * 1000);
|
let dateTime = new Date(parseInt(data.toString()) * 1000);
|
||||||
return (
|
return (
|
||||||
<div class='has-tooltip'>
|
<div className='has-tooltip'>
|
||||||
<span class='tooltip rounded shadow-lg p-1 bg-gray-100 text-red-500 -mt-8'>{dateTime.toLocaleDateString() + " " + dateTime.toLocaleTimeString()}</span>
|
<span className='tooltip rounded shadow-lg p-1 bg-gray-100 text-red-500 -mt-8'>{dateTime.toLocaleDateString() + " " + dateTime.toLocaleTimeString()}</span>
|
||||||
最終ログイン: {timeAgo(dateTime)}
|
最終ログイン: {timeAgo(dateTime)}
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user