diff --git a/package.json b/package.json index f7a1a7e..2b8e621 100644 --- a/package.json +++ b/package.json @@ -61,6 +61,7 @@ "@tanstack/react-query": "^5.17.0", "aos": "^2.3.4", "browser-image-compression": "^2.0.2", + "caniuse-lite": "^1.0.30001769", "capacitor-plugin-safe-area": "^4.0.0", "chrono-node": "^2.7.7", "dotenv": "^16.4.5", @@ -95,7 +96,7 @@ "@vite-pwa/assets-generator": "^0.2.4", "@vitejs/plugin-react-swc": "^3.5.0", "autoprefixer": "^10.4.16", - "baseline-browser-mapping": "^2.9.16", + "baseline-browser-mapping": "^2.9.19", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.2", diff --git a/src/views/Authorization/MFAVerificationModal.jsx b/src/views/Authorization/MFAVerificationModal.jsx index 4586fb3..6d5d41b 100644 --- a/src/views/Authorization/MFAVerificationModal.jsx +++ b/src/views/Authorization/MFAVerificationModal.jsx @@ -70,14 +70,17 @@ const MFAVerificationModal = ({ } return ( - + - - Two-Factor Authentication - Enter the verification code from your authenticator app diff --git a/src/views/Modals/Inputs/AcknowledgmentModal.jsx b/src/views/Modals/Inputs/AcknowledgmentModal.jsx index 234483e..36b2ab7 100644 --- a/src/views/Modals/Inputs/AcknowledgmentModal.jsx +++ b/src/views/Modals/Inputs/AcknowledgmentModal.jsx @@ -64,15 +64,14 @@ function AcknowledgmentModal({ config }) { - - {config?.title} - {loading ? ( ) : ( - <> - - ๐Ÿ”„ Backup & Restore - + setActiveTab(newValue)} + > + + Create Backup + Restore Backup + - setActiveTab(newValue)} - > - - Create Backup - Restore Backup - + {renderBackupTab()} - {renderBackupTab()} - - {renderRestoreTab()} - - + {renderRestoreTab()} + )} ) diff --git a/src/views/Modals/Inputs/CreateThingModal.jsx b/src/views/Modals/Inputs/CreateThingModal.jsx index 9dbb041..164cc4b 100644 --- a/src/views/Modals/Inputs/CreateThingModal.jsx +++ b/src/views/Modals/Inputs/CreateThingModal.jsx @@ -1,13 +1,13 @@ import { - Box, - Button, - FormControl, - FormHelperText, - Input, - Option, - Select, - Textarea, - Typography, + Box, + Button, + FormControl, + FormHelperText, + Input, + Option, + Select, + Textarea, + Typography, } from '@mui/joy' import { useEffect, useState } from 'react' import { useResponsiveModal } from '../../../hooks/useResponsiveModal' @@ -60,10 +60,13 @@ function CreateThingModal({ isOpen, onClose, onSave, currentThing }) { } return ( - - - {currentThing?.id ? 'Edit' : 'Create'} Thing - + Name