Timeuntil in UI (#1461)

* cherry pick EventBlockChip

* pull data down throug components

* add comment

* cleanup css

Co-authored-by: Carlos Valente <34649812+cpvalente@users.noreply.github.com>

---------

Co-authored-by: Carlos Valente <34649812+cpvalente@users.noreply.github.com>
This commit is contained in:
Alex Christoffer Rasmussen
2025-01-27 16:39:32 +01:00
committed by GitHub
parent 5d5b48aca6
commit 221ff7b3af
9 changed files with 145 additions and 1 deletions
@@ -250,3 +250,11 @@ export const useIsOnline = () => {
return useRuntimeStore(featureSelector);
};
export const usePlayback = () => {
const featureSelector = (state: RuntimeStore) => ({
playback: state.timer.playback,
});
return useRuntimeStore(featureSelector);
};