Autoformatting all files #156

Merged
cami merged 1 commit from formatting into main 2021-07-14 19:05:52 +00:00
8 changed files with 9 additions and 8 deletions

View file

@ -81,6 +81,7 @@ with app.app_context():
db.create_all() db.create_all()
db.session.commit() db.session.commit()
@app.route('/api/login', methods=['POST']) @app.route('/api/login', methods=['POST'])
def login(): def login():
""" """

View file

@ -17,7 +17,7 @@ import BehaviorNormal from "./components/pages/BehaviorNormal";
function App() { function App() {
const [isLoggedIn] = useAuth(); const [isLoggedIn] = useAuth();
isLoggedIn ? (document.title = isLoggedIn) : document.title = isLoggedIn; isLoggedIn ? (document.title = isLoggedIn) : (document.title = isLoggedIn);
return ( return (
<> <>
<Router> <Router>

View file

@ -6,7 +6,7 @@ import "@fortawesome/fontawesome-free/css/all.css";
function Navbar() { function Navbar() {
const [click, setClick] = useState(false); const [click, setClick] = useState(false);
const [button,setButton] = useState(true); const [button, setButton] = useState(true);
const handleClick = () => setClick(!click); const handleClick = () => setClick(!click);
const closeMobileMenu = () => setClick(false); const closeMobileMenu = () => setClick(false);

View file

@ -1,4 +1,4 @@
import React, { useEffect, useState} from "react"; import React, { useEffect, useState } from "react";
import "../../App.css"; import "../../App.css";
import Footer from "../../Footer"; import Footer from "../../Footer";
import { Logger } from "@behametrics/logger-web"; import { Logger } from "@behametrics/logger-web";

View file

@ -1,4 +1,4 @@
import React, {useState} from "react"; import React, { useState } from "react";
import "../../App.css"; import "../../App.css";
import Footer from "../../Footer"; import Footer from "../../Footer";
import InputField from "../InputField"; import InputField from "../InputField";

View file

@ -1,4 +1,4 @@
import React, {useState} from "react"; import React, { useState } from "react";
import "../../App.css"; import "../../App.css";
import Footer from "../../Footer"; import Footer from "../../Footer";
import InputField from "../InputField"; import InputField from "../InputField";

View file

@ -1,4 +1,4 @@
import React, {useState} from "react"; import React, { useState } from "react";
import "../../App.css"; import "../../App.css";
import "../Input.css"; import "../Input.css";
import Footer from "../../Footer"; import Footer from "../../Footer";