Refactor SetupView component for improved readability

- Consolidate destructuring of useSetupStore into a single line for cleaner code.
- Remove unnecessary blank line at the beginning of the file.
This commit is contained in:
Cody Seibert
2025-12-20 01:52:49 -05:00
parent 0c6447a6f5
commit 1a78304ca2

View File

@@ -1,4 +1,3 @@
import { useSetupStore } from "@/store/setup-store";
import { StepIndicator } from "./setup-view/components";
import {
@@ -12,12 +11,8 @@ import { useNavigate } from "@tanstack/react-router";
// Main Setup View
export function SetupView() {
const {
currentStep,
setCurrentStep,
completeSetup,
setSkipClaudeSetup,
} = useSetupStore();
const { currentStep, setCurrentStep, completeSetup, setSkipClaudeSetup } =
useSetupStore();
const navigate = useNavigate();
const steps = ["welcome", "theme", "claude", "github", "complete"] as const;