diff --git a/src/views/settings/ErrorLogsDrawerCard.tsx b/src/views/settings/ErrorLogsDrawerCard.tsx index 50f214981d..ed199fcd2f 100644 --- a/src/views/settings/ErrorLogsDrawerCard.tsx +++ b/src/views/settings/ErrorLogsDrawerCard.tsx @@ -17,6 +17,7 @@ import colors from "../../style/colors"; import { ErrorContext } from "../../utils/getErrorContext"; import { useAppSelector } from "../../utils/redux/hooks"; import { DrawerTopButtons } from "../home/DrawerTopButtons"; +import { nanoid } from "@reduxjs/toolkit"; const ErrorLogsDrawerCard = () => { const { isOpen, onClose: closeDrawer, onOpen } = useDisclosure(); @@ -62,8 +63,8 @@ const ErrorLogsDrawerBody = () => { {/* TODO:Implement delete */} {/* {}} /> */} - {errors.map((error, i) => ( - + {errors.map(error => ( + ))} );