diff --git a/src/components/revise/Revise.tsx b/src/components/revise/Revise.tsx index 7d7a7dd..76bc49e 100644 --- a/src/components/revise/Revise.tsx +++ b/src/components/revise/Revise.tsx @@ -22,7 +22,7 @@ export const Revise: React.FC = () => { window.alert("Failed to get questions"); console.log(e); }); - }) + }, []); return
{ progressState === 'QUESTION' &&
diff --git a/src/components/shelf-details/ShelfDetails.tsx b/src/components/shelf-details/ShelfDetails.tsx index 0937084..7a3c172 100644 --- a/src/components/shelf-details/ShelfDetails.tsx +++ b/src/components/shelf-details/ShelfDetails.tsx @@ -13,7 +13,7 @@ import { ReactComponent as ShareIcon } from '../../assets/icons/share.svg'; import { ReactComponent as DeleteIcon } from '../../assets/icons/delete.svg'; import { PopoverOptions } from "../popover-options/PopoverOptions"; -import { MobileShelfWord, ShelfWord } from "../../shared/models/shelf"; +import { MobileShelfWord } from "../../shared/models/shelf"; import { MobileUser } from "../../shared/models/user"; export const ShelfDetails: React.FC = () => {