Skip to content

Commit 22e2f18

Browse files
committed
formatting
1 parent 3c8a01b commit 22e2f18

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

resources/js/app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ createInertiaApp({
2525
},
2626
});
2727

28-
// This will set dark/light mode on load
28+
// This will set light / dark mode on load...
2929
initializeTheme();

resources/js/hooks/use-mobile-navigation.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ export function useMobileNavigation() {
44
const cleanup = useCallback(() => {
55
// Remove pointer-events style from body...
66
document.body.style.removeProperty('pointer-events');
7+
78
// Find and click the close button of any open sheet...
89
const closeButton = document.querySelector('[data-radix-collection-item]');
10+
911
if (closeButton instanceof HTMLElement) {
1012
closeButton.click();
1113
}

0 commit comments

Comments
 (0)