Removed unnecessary Notice method
This commit is contained in:
parent
f3e8047322
commit
4a9f52df3a
1 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
|
import { Notice } from "obsidian";
|
||||||
import { getStats, scoreTask } from "./habiticaAPI"
|
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"
|
||||||
|
|
@ -33,7 +34,7 @@ class App extends React.Component<any,any> {
|
||||||
|
|
||||||
}
|
}
|
||||||
sendNotice(message: string){
|
sendNotice(message: string){
|
||||||
this.props.plugin.displayNotice(message)
|
new Notice(message)
|
||||||
}
|
}
|
||||||
reloadData() {
|
reloadData() {
|
||||||
getStats(username, credentials)
|
getStats(username, credentials)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue