mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 06:42:03 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user