chore(web): fix api key and device list key issue

This commit is contained in:
isra el
2025-07-12 18:06:11 +03:00
parent 08afce15b0
commit 58b8eef92f
2 changed files with 2 additions and 2 deletions

View File

@@ -169,7 +169,7 @@ export default function ApiKeys() {
)}
{apiKeys?.data?.map((apiKey) => (
<Card key={apiKey.id} className='border-0 shadow-none'>
<Card key={apiKey._id} className='border-0 shadow-none'>
<CardContent className='flex items-center p-3'>
<Key className='h-6 w-6 mr-3' />
<div className='flex-1'>

View File

@@ -77,7 +77,7 @@ export default function DeviceList() {
)}
{devices?.data?.map((device) => (
<Card key={device.id} className='border-0 shadow-none'>
<Card key={device._id} className='border-0 shadow-none'>
<CardContent className='flex items-center p-3'>
<Smartphone className='h-6 w-6 mr-3' />
<div className='flex-1'>