fix: suppress date and button hydration warnings
This commit is contained in:
parent
0ad578e651
commit
f2747ada94
7 changed files with 55 additions and 26 deletions
|
|
@ -180,7 +180,7 @@ export default function MachineRow({
|
|||
isOnline={machine.online && !expired}
|
||||
className="w-4 h-4"
|
||||
/>
|
||||
<p>
|
||||
<p suppressHydrationWarning>
|
||||
{machine.online && !expired
|
||||
? 'Connected'
|
||||
: new Date(machine.lastSeen).toLocaleString()}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue