mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-01 12:26:19 -05:00
Creating Calculators in app. Current calculators are Temperature and Electrical.
This commit is contained in:
parent
279fe2af3e
commit
2aebb7c406
6 changed files with 293 additions and 4 deletions
|
|
@ -1186,3 +1186,8 @@ export const useDockerized = () => {
|
|||
const {status} = React.useContext(StatusContext);
|
||||
return status && status['dockerized'] === true;
|
||||
}
|
||||
|
||||
export const useCalcQuery = () => {
|
||||
const [calc, setCalc] = useOneQuery('calc');
|
||||
return {calc, setCalc}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue