fix(web): fix build error

This commit is contained in:
isra el
2024-03-29 07:08:52 +03:00
parent 74dded86c0
commit b02c345d5f
3 changed files with 9 additions and 6 deletions
+3 -1
View File
@@ -34,7 +34,9 @@ const ApiKeyRow = ({ apiKey }: any) => {
<Td>{apiKey.status}</Td>
<Td>
<Tooltip label='Double Click to delete'>
<DeleteIcon onDoubleClick={handleDelete} disabled/>
<DeleteIcon
// onDoubleClick={handleDelete}
/>
</Tooltip>
</Td>
</Tr>
+1 -2
View File
@@ -29,8 +29,7 @@ const DeviceRow = ({ device, onDelete }: any) => {
<IconButton
aria-label='Delete'
icon={<DeleteIcon />}
onDoubleClick={onDelete}
disabled
// onDoubleClick={onDelete}
/>
</Tooltip>
</Td>
+5 -3
View File
@@ -92,6 +92,8 @@ export default function LoginPage() {
})
}
const colorModeValue = useColorModeValue('gray.50', 'gray.800')
if (resetSuccess) {
return (
<>
@@ -99,7 +101,7 @@ export default function LoginPage() {
minH={'90vh'}
align={'center'}
justify={'center'}
bg={useColorModeValue('gray.50', 'gray.800')}
bg={colorModeValue}
>
<Stack pt={6}>
<Text align={'center'}>Password reset successfully</Text>
@@ -117,7 +119,7 @@ export default function LoginPage() {
minH={'90vh'}
align={'center'}
justify={'center'}
bg={useColorModeValue('gray.50', 'gray.800')}
bg={colorModeValue}
>
<Stack spacing={8} mx={'auto'} maxW={'lg'} py={12} px={6}>
<Stack align={'center'}>
@@ -127,7 +129,7 @@ export default function LoginPage() {
</Stack>
<Box
rounded={'lg'}
bg={useColorModeValue('white', 'gray.700')}
bg={colorModeValue}
boxShadow={'lg'}
p={8}
>