Caching fetched resources

This commit is contained in:
mrfry 2021-06-09 09:48:31 +02:00
parent 7e93e41edc
commit 3daeef184a
12 changed files with 213 additions and 85 deletions

View file

@ -9,7 +9,7 @@ import constants from '../constants.json'
import styles from './contribute.module.css'
import repos from '../data/repos.json'
export default function contribute() {
export default function Contribute({ globalState, setGlobalState }) {
const [showFeedback, setShowFeedback] = useState(false)
return (
@ -52,7 +52,7 @@ export default function contribute() {
</div>
<br />
<hr />
<Todos />
<Todos globalState={globalState} setGlobalState={setGlobalState} />
<hr />
<div id={'gitrepo'} className={styles.gitRepos}>
<div>