@@ -2,7 +2,7 @@ import { Bin, Controls, NewPanel, Resolver } from "../controls/controls";
2
2
import { Logo , Settings } from "../top/top" ;
3
3
import { Tabs } from "../tabs/tabs" ;
4
4
import * as styles from "./styles.module.css" ;
5
- import { ClientState , getClientState } from "../state/client " ;
5
+ import { ClientState , getClientState } from "../state/clientState " ;
6
6
import { Component } from "react" ;
7
7
import { AppDPanel } from "../appd/appd" ;
8
8
import { Content , Grids } from "../grid/grid" ;
@@ -64,7 +64,6 @@ export class Frame extends Component<FrameProps, FrameState> {
64
64
context : EXAMPLE_CONTEXT ,
65
65
requestId : "123" ,
66
66
} ) ;
67
- this . setState ( this . state ) ;
68
67
} }
69
68
/>
70
69
< NewPanel onClick = { ( ) => this . setState ( { popup : Popup . APPD } ) } />
@@ -80,7 +79,6 @@ export class Frame extends Component<FrameProps, FrameState> {
80
79
{ this . state ?. popup == Popup . APPD ? (
81
80
< AppDPanel
82
81
key = "appd"
83
- cs = { this . props . cs }
84
82
closeAction = { ( ) =>
85
83
this . setState ( {
86
84
popup : Popup . NONE ,
@@ -105,7 +103,6 @@ export class Frame extends Component<FrameProps, FrameState> {
105
103
context = { this . props . cs . getIntentResolution ( ) ! ! . context }
106
104
closeAction = { ( ) => {
107
105
this . props . cs . setIntentResolution ( null ) ;
108
- this . setState ( this . state ) ;
109
106
} }
110
107
/>
111
108
) : null }
0 commit comments