Removed unnecessary Notice method

This commit is contained in:
Leoh 2021-10-23 16:41:11 +05:30
parent f3e8047322
commit 4a9f52df3a

View file

@ -1,4 +1,5 @@
import * as React from "react";
import { Notice } from "obsidian";
import { getStats, scoreTask } from "./habiticaAPI"
import Statsview from "./Components/Statsview"
import Taskview from "./Components/Taskview"
@ -33,7 +34,7 @@ class App extends React.Component<any,any> {
}
sendNotice(message: string){
this.props.plugin.displayNotice(message)
new Notice(message)
}
reloadData() {
getStats(username, credentials)