Added global header, refetch infos on window focus

This commit is contained in:
mrfry 2022-05-15 17:40:36 +02:00
parent 98164ff4fa
commit a8ec93a685
12 changed files with 47 additions and 55 deletions

View file

@ -1,9 +1,9 @@
import React, { useState } from 'react'
import Head from 'next/head'
import Todos from '../components/todoStuff/todos'
import FeedbackArea from '../components/feedbackArea'
import Modal from '../components/modal'
import Header from '../components/header'
import constants from '../constants.json'
import styles from './contribute.module.css'
@ -14,9 +14,7 @@ export default function Contribute({ globalState, setGlobalState }) {
return (
<div>
<Head>
<title>Todos - Qmining | Frylabs.net</title>
</Head>
<Header title={'Todos'} />
<div className={'pageHeader'}>
<h1>Teendők</h1>
</div>