feat: implement naive client ping

This commit is contained in:
Carlos Valente
2024-11-17 13:57:34 +01:00
committed by Carlos Valente
parent d87542dcf7
commit 8dd448db44
8 changed files with 74 additions and 7 deletions
@@ -230,3 +230,11 @@ export const useTimelineStatus = () => {
return useRuntimeStore(featureSelector);
};
export const usePing = () => {
const featureSelector = (state: RuntimeStore) => ({
ping: state.ping,
});
return useRuntimeStore(featureSelector);
};