mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-22 03:49:18 +02:00
feat: Unify print dispatch through the scheduler (#1625)
This commit is contained in:
@@ -25,9 +25,8 @@ export function SpoolBuddyLayout() {
|
||||
const location = useLocation();
|
||||
const sbState = useSpoolBuddyState();
|
||||
|
||||
// Hide the global toast viewport (background-dispatch progress, etc.) on the
|
||||
// kiosk display. Restore on unmount so navigating back to the main app sees
|
||||
// its toasts again.
|
||||
// Hide the global toast viewport on the kiosk display. Restore on unmount so
|
||||
// navigating back to the main app sees its toasts again.
|
||||
const { setViewportSuppressed } = useToast();
|
||||
useEffect(() => {
|
||||
setViewportSuppressed(true);
|
||||
|
||||
Reference in New Issue
Block a user