Refractoring: Removed unnecessary component Reactview
This commit is contained in:
parent
30dd6590ec
commit
0cd5fde19c
5 changed files with 9 additions and 21 deletions
|
|
@ -11,8 +11,8 @@ let credentials = ""
|
|||
class App extends React.Component<any,any> {
|
||||
constructor(props: any) {
|
||||
super(props)
|
||||
username = this.props.username
|
||||
credentials = this.props.apiToken
|
||||
username = this.props.plugin.settings.userID
|
||||
credentials = this.props.plugin.settings.apiToken
|
||||
this.state = {
|
||||
isLoaded: false,
|
||||
user_data: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue