mirror of
https://github.com/vernu/textbee.git
synced 2026-05-18 13:24:50 -04:00
chore(web): fix api key and device list key issue
This commit is contained in:
@@ -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'>
|
||||
|
||||
@@ -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'>
|
||||
|
||||
Reference in New Issue
Block a user