add eslint

This commit is contained in:
Romulus21
2023-09-15 00:06:52 +02:00
parent 076c87b016
commit 1e39c1b79f
10 changed files with 1333 additions and 28 deletions

View File

@@ -1,12 +1,12 @@
import React from "react";
import {Link} from "react-router-dom";
import useAuthUser from "../hooks/AuthUser";
import React from "react"
import {Link} from "react-router-dom"
import useAuthUser from "../hooks/AuthUser"
const Header = () => {
const {authUser, logout} = useAuthUser()
return <header className="bg-blue-700 text-white py-3 px-5 text-xl flex justify-between">
return <header className="flex justify-between py-3 px-5 bg-blue-700 text-white text-xl">
<div>
<Link to="/">Bermite</Link>
</div>