Refractoring: Removed unnecessary imports
This commit is contained in:
parent
0cd5fde19c
commit
0280d5bd3a
1 changed files with 0 additions and 5 deletions
|
|
@ -3,8 +3,6 @@ import { getStats, scoreTask } from "./habiticaAPI"
|
||||||
import Statsview from "./Components/Statsview"
|
import Statsview from "./Components/Statsview"
|
||||||
import Taskview from "./Components/Taskview"
|
import Taskview from "./Components/Taskview"
|
||||||
|
|
||||||
import { domainToASCII } from "url";
|
|
||||||
|
|
||||||
let username = ""
|
let username = ""
|
||||||
let credentials = ""
|
let credentials = ""
|
||||||
|
|
||||||
|
|
@ -44,10 +42,7 @@ class App extends React.Component<any,any> {
|
||||||
result => {
|
result => {
|
||||||
if(result.success === false){
|
if(result.success === false){
|
||||||
this.sendNotice("Login Failed, Please check credentials and try again!")
|
this.sendNotice("Login Failed, Please check credentials and try again!")
|
||||||
console.log(result)
|
|
||||||
} else {
|
} else {
|
||||||
console.log(result)
|
|
||||||
console.log("data reloaded")
|
|
||||||
this.setState({
|
this.setState({
|
||||||
isLoaded: true,
|
isLoaded: true,
|
||||||
user_data: result,
|
user_data: result,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue