Skip to content

Commit 6ae6a96

Browse files
committed
Unused
1 parent eb285dc commit 6ae6a96

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

web/src/FluxState.js

-16
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,6 @@ import { ReadyWidget } from './ReadyWidget'
66
import { TimeLabel } from './TimeLabel'
77
import { CompactService } from './Service.jsx';
88

9-
function FluxState(props) {
10-
const { store } = props
11-
12-
const [fluxState, setFluxState] = useState(store.getState().fluxState);
13-
store.subscribe(() => setFluxState(store.getState().fluxState))
14-
15-
return (
16-
<div>
17-
<Sources fluxState={fluxState} />
18-
<Kustomizations fluxState={fluxState} />
19-
</div>
20-
)
21-
}
22-
239
export function Kustomizations(props){
2410
const { capacitorClient, fluxState, targetReference, handleNavigationSelect } = props
2511
const [filter, setFilter] = useState(false)
@@ -472,5 +458,3 @@ export function Summary(props) {
472458
</>
473459
)
474460
}
475-
476-
export default FluxState;

0 commit comments

Comments
 (0)