Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenWizard2015 committed Jan 10, 2024
1 parent 20bdb88 commit 754d33d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react';
import { connect } from 'react-redux';
import { updateSystemStatus } from '../store/slices/SystemStatus';
import { useWaterPumpAPI } from './WaterPumpAPIContext';
import { useNotificationsSystem } from './NotificationsContext';
import { useWaterPumpAPI } from '../contexts/WaterPumpAPIContext';
import { useNotificationsSystem } from '../contexts/NotificationsContext';

const FETCH_INTERVAL = 5000;
const CHECK_INTERVAL = Math.round(FETCH_INTERVAL / 10);
Expand Down
2 changes: 1 addition & 1 deletion ui/src/contexts/WaterPumpAPIContext.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { useSelector } from 'react-redux';
import { CWaterPumpAPI } from '../api/CWaterPumpAPI.js';
import WaterPumpStatusProvider from './WaterPumpStatusProvider.js';
import WaterPumpStatusProvider from '../components/WaterPumpStatusProvider.js';

const WaterPumpAPIContext = React.createContext();

Expand Down

0 comments on commit 754d33d

Please sign in to comment.