Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)
Python
fix issue with loading variants
Abi Raja96658819f359
diff --git a/frontend/src/store/project-store.ts b/frontend/src/store/project-store.tsindex 20516ae5..d35ba14c 100644--- a/frontend/src/store/project-store.ts+++ b/frontend/src/store/project-store.ts@@ -72,6 +72,9 @@ export const useProjectStore = create<ProjectStore>((set) => ({appendToVariant: (newTokens: string, index: number) =>set((state) => {const newVariants = [...state.variants];+ while (newVariants.length <= index) {+ newVariants.push("");+ }newVariants[index] += newTokens;return { variants: newVariants };}),