Open History to see the last commit
1import type { PreviewAutomationOpenInput, PreviewSessionSnapshot } from "@t3tools/contracts";
2
3export function previewAutomationOpenNeedsOverlay(
4 input: PreviewAutomationOpenInput,
5 snapshot: PreviewSessionSnapshot,
6): boolean {
7 return input.url !== undefined || snapshot.navStatus._tag !== "Idle";
8}