Skip to content

Commit

Permalink
Ts cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
alexobenauer committed Oct 5, 2021
1 parent 9da3be8 commit f6ecde2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ export default class CRNView extends ItemView {
}

getEphemeralState(): any {
let state = get(this.tagMenuStore)
const state = get(this.tagMenuStore)

return {
selectedTags: state.selectedTags,
expandedGroups: state.expandedGroups
}
}

setEphemeralState(state: any) {
setEphemeralState(state: any): void {
if (state) {
this.tagMenuStore.loadState(state.selectedTags, state.expandedGroups)
}
Expand Down

0 comments on commit f6ecde2

Please sign in to comment.