Creating Calculators in app. Current calculators are Temperature and Electrical.

This commit is contained in:
Roland 2024-05-31 23:53:30 -06:00
parent 279fe2af3e
commit 2aebb7c406
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
6 changed files with 293 additions and 4 deletions

View file

@ -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}
}