mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-06 13:51:30 -05:00
chore: move comment in StackedCardsContainer to the top
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user