Autoformatting all files
This commit is contained in:
parent
816689acdf
commit
0e222d3d52
8 changed files with 9 additions and 8 deletions
|
@ -81,6 +81,7 @@ with app.app_context():
|
|||
db.create_all()
|
||||
db.session.commit()
|
||||
|
||||
|
||||
@app.route('/api/login', methods=['POST'])
|
||||
def login():
|
||||
"""
|
||||
|
|
|
@ -17,7 +17,7 @@ import BehaviorNormal from "./components/pages/BehaviorNormal";
|
|||
|
||||
function App() {
|
||||
const [isLoggedIn] = useAuth();
|
||||
isLoggedIn ? (document.title = isLoggedIn) : document.title = isLoggedIn;
|
||||
isLoggedIn ? (document.title = isLoggedIn) : (document.title = isLoggedIn);
|
||||
return (
|
||||
<>
|
||||
<Router>
|
||||
|
|
|
@ -4,7 +4,7 @@ import "../App.css";
|
|||
export default function ErrorMessage(props) {
|
||||
return (
|
||||
<>
|
||||
<p className="errorMessage">{props.message}</p>
|
||||
<p className="errorMessage">{props.message}</p>
|
||||
</>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ import "@fortawesome/fontawesome-free/css/all.css";
|
|||
|
||||
function Navbar() {
|
||||
const [click, setClick] = useState(false);
|
||||
const [button,setButton] = useState(true);
|
||||
const [button, setButton] = useState(true);
|
||||
|
||||
const handleClick = () => setClick(!click);
|
||||
const closeMobileMenu = () => setClick(false);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import React, { useEffect, useState} from "react";
|
||||
import React, { useEffect, useState } from "react";
|
||||
import "../../App.css";
|
||||
import Footer from "../../Footer";
|
||||
import { Logger } from "@behametrics/logger-web";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import React, {useState} from "react";
|
||||
import React, { useState } from "react";
|
||||
import "../../App.css";
|
||||
import Footer from "../../Footer";
|
||||
import InputField from "../InputField";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import React, {useState} from "react";
|
||||
import React, { useState } from "react";
|
||||
import "../../App.css";
|
||||
import Footer from "../../Footer";
|
||||
import InputField from "../InputField";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import React, {useState} from "react";
|
||||
import React, { useState } from "react";
|
||||
import "../../App.css";
|
||||
import "../Input.css";
|
||||
import Footer from "../../Footer";
|
||||
|
|
Loading…
Reference in a new issue