diff --git a/src/components/FileUpload.tsx b/src/components/FileUpload.tsx index 8b931a22..0f9413fb 100644 --- a/src/components/FileUpload.tsx +++ b/src/components/FileUpload.tsx @@ -179,7 +179,6 @@ function DropZone({ }: DropZoneProps) { return (
{error}
diff --git a/src/components/OnboardingTour.tsx b/src/components/OnboardingTour.tsx
index 861ab7de..adcf2c4f 100644
--- a/src/components/OnboardingTour.tsx
+++ b/src/components/OnboardingTour.tsx
@@ -13,6 +13,10 @@ interface TourStep {
requiresFile?: boolean;
}
+interface OnboardingTourProps {
+ replayTrigger?: number;
+}
+
const TOUR_STEPS: TourStep[] = [
{
targetId: "upload-zone",
@@ -249,7 +253,9 @@ function Tooltip({
);
}
-export default function OnboardingTour() {
+export default function OnboardingTour({
+ replayTrigger = 0,
+}: OnboardingTourProps) {
const [stepIndex, setStepIndex] = useState(0);
const [visible, setVisible] = useState(false);
const [targetRect, setTargetRect] = useState