@@ -3,15 +3,14 @@ import Card from "../common/Card";
3
3
import Button from "../common/Button" ;
4
4
import { useConfig } from "../../contexts/ConfigContext" ;
5
5
import { useWizardMode } from "../../contexts/WizardModeContext" ;
6
- import { ChevronLeft , ChevronRight } from "lucide-react" ;
6
+ import { ChevronRight } from "lucide-react" ;
7
7
import LinuxSetup from "./setup/LinuxSetup" ;
8
8
import { useQuery , useMutation } from "@tanstack/react-query" ;
9
9
import { useAuth } from "../../contexts/AuthContext" ;
10
10
import { handleUnauthorized } from "../../utils/auth" ;
11
11
12
12
interface SetupStepProps {
13
13
onNext : ( ) => void ;
14
- onBack : ( ) => void ;
15
14
}
16
15
17
16
interface Status {
@@ -23,7 +22,7 @@ interface ConfigError extends Error {
23
22
errors ?: { field : string ; message : string } [ ] ;
24
23
}
25
24
26
- const SetupStep : React . FC < SetupStepProps > = ( { onNext, onBack } ) => {
25
+ const SetupStep : React . FC < SetupStepProps > = ( { onNext } ) => {
27
26
const { config, updateConfig, prototypeSettings } = useConfig ( ) ;
28
27
const { text } = useWizardMode ( ) ;
29
28
const [ showAdvanced , setShowAdvanced ] = useState ( true ) ;
@@ -162,10 +161,7 @@ const SetupStep: React.FC<SetupStepProps> = ({ onNext, onBack }) => {
162
161
) }
163
162
</ Card >
164
163
165
- < div className = "flex justify-between" >
166
- < Button variant = "outline" onClick = { onBack } icon = { < ChevronLeft className = "w-5 h-5" /> } >
167
- Back
168
- </ Button >
164
+ < div className = "flex justify-end" >
169
165
< Button onClick = { handleNext } icon = { < ChevronRight className = "w-5 h-5" /> } >
170
166
Next: Validate Host
171
167
</ Button >
0 commit comments