refactor: clean up code formatting and improve query invalidation logic in RulesPage and useIsMobile hook for better readability and maintainability

This commit is contained in:
Julien Froidefond
2025-12-08 09:21:19 +01:00
parent c47ea045cc
commit 11c0df1293
2 changed files with 17 additions and 15 deletions

View File

@@ -4,7 +4,7 @@ const MOBILE_BREAKPOINT = 768;
export function useIsMobile() {
const [isMobile, setIsMobile] = React.useState<boolean | undefined>(
undefined,
undefined
);
React.useEffect(() => {