add empty style

This commit is contained in:
2026-01-23 15:35:06 +07:00
parent 27a8f3ed0b
commit 0ee119ea8f

View File

@@ -190,6 +190,12 @@ export default function Devices() {
)} )}
</Card> </Card>
))} ))}
{!isLoading && data?.length === 0 ? (
<div className="text-center text-gray-500 col-span-2 row-span-4 w-full py-8 bg-white rounded-lg">
No devices found. Please add a device.
</div>
) : null}
</div> </div>
</div> </div>
</> </>