Autoformatting all files #156
8 changed files with 9 additions and 8 deletions
|
@ -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():
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -4,7 +4,7 @@ import "../App.css";
|
||||||
export default function ErrorMessage(props) {
|
export default function ErrorMessage(props) {
|
||||||
return (
|
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() {
|
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);
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue