chore: clear dead code, update todo

This commit is contained in:
Ruidy 2021-12-13 12:49:20 -04:00
parent 0ce8b1cfc2
commit ea9b38cf76
2 changed files with 1 additions and 20 deletions

View file

@ -1,8 +1,6 @@
# TO DO
- [ ] send message after contact form validation (confirm to sender and msg+info to admin)
- [ ] Local storage of preferences
- [ ] Firebase firestore and functions
- [ ] Breadcrumb
- [ ] Cookie bar
- [x] code cleanup (props and refactoring)
@ -12,6 +10,6 @@
- [ ] Decoupled application and data layers. Abstract such that the front end does not know where the data comes from.
- [x] Create PageLayout component
- [ ] Use Css-in-Js
- [ ] Redirect to 404
- [x] Redirect to 404
- [x] Typescript
- [x] strict typing

View file

@ -1,17 +0,0 @@
import { useState } from "react";
export const useInput = (initialValue) => {
const [value, setValue] = useState(initialValue);
return {
value,
setValue,
reset: () => setValue(""),
bind: {
value,
onChange: (e) => {
setValue(e.target.value);
},
},
};
};