chore: move comment in StackedCardsContainer to the top

This commit is contained in:
Matthias Nannt
2024-06-07 15:39:17 +02:00
parent c73d4e82b5
commit 5e94d0b4af
@@ -1,11 +1,13 @@
"use client";
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
import { TProductStyling } from "@formbricks/types/product";
import { TCardArrangementOptions } from "@formbricks/types/styling";
import { TSurvey, TSurveyStyling } from "@formbricks/types/surveys";
// offset = 0 -> Current question card
// offset < 0 -> Question cards that are already answered
// offset > 0 -> Question that aren't answered yet
interface StackedCardsContainerProps {
cardArrangement: TCardArrangementOptions;
currentQuestionId: string;
@@ -197,7 +199,3 @@ export const StackedCardsContainer = ({
</div>
);
};
// offset = 0 -> Current question card
// offset < 0 -> Question cards that are already answered
// offset > 0 -> Question that aren't answered yet