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

Replace "class" to "className"

This commit is contained in:
yude 2021-09-24 16:49:49 +09:00
parent eb46a60119
commit 971be8ab25
Signed by: yude
GPG Key ID: EB0FE5D925C4A968

View File

@ -54,8 +54,8 @@ function App (props) {
} else {
let dateTime = new Date(parseInt(data.toString()) * 1000);
return (
<div class='has-tooltip'>
<span class='tooltip rounded shadow-lg p-1 bg-gray-100 text-red-500 -mt-8'>{dateTime.toLocaleDateString() + " " + dateTime.toLocaleTimeString()}</span>
<div className='has-tooltip'>
<span className='tooltip rounded shadow-lg p-1 bg-gray-100 text-red-500 -mt-8'>{dateTime.toLocaleDateString() + " " + dateTime.toLocaleTimeString()}</span>
最終ログイン: {timeAgo(dateTime)}
</div>
)