Skip to content

Commit 5246540

Browse files
committed
chore: terminal state correction for data replace
1 parent 8dae7fa commit 5246540

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

models/initia/run_l1_node.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -1092,8 +1092,7 @@ func (m *ExistingDataReplaceSelect) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
10921092
switch *selected {
10931093
case Skip:
10941094
m.state.replaceExistingData = false
1095-
// TODO: Terminal state here
1096-
return m, tea.Quit
1095+
return NewTerminalState(m.state), tea.Quit
10971096
case ProceedWithSync:
10981097
m.state.replaceExistingData = true
10991098
// TODO: do the deletion confirmation

0 commit comments

Comments
 (0)