Updated packages + changed chokidar options to fix compatibility with network monitoring.
This commit is contained in:
@@ -7,6 +7,8 @@ import {
|
||||
selectWatcherStatus,
|
||||
} from "../../../redux/application/application.selectors";
|
||||
|
||||
const { ipcRenderer } = window;
|
||||
|
||||
const mapStateToProps = createStructuredSelector({
|
||||
watcherStatus: selectWatcherStatus,
|
||||
watcherError: selectWatcherError,
|
||||
@@ -14,7 +16,10 @@ const mapStateToProps = createStructuredSelector({
|
||||
|
||||
export function WatcherStatusAtom({ watcherStatus, watcherError }) {
|
||||
return (
|
||||
<div style={{ color: watcherStatus === "Started" ? "green" : "tomato" }}>
|
||||
<div
|
||||
onDoubleClick={() => ipcRenderer.send("test")}
|
||||
style={{ color: watcherStatus === "Started" ? "green" : "tomato" }}
|
||||
>
|
||||
<strong>{watcherStatus}</strong>
|
||||
{watcherError && <Alert message={watcherError} />}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user