History

Format SSH prompt reducer state

Cursor Agent committed 6 months ago

Commit 6ff98af1 parent 7ead5c71 file · +1 −4Browse files

Unified · Split

apps/web/src/components/desktop/SshPasswordPromptDialog.tsx+1−4
@@ -50,10 +50,7 @@ type PromptDraftAction = · 49 unmodified lines
5050 | { type: "password.set"; password: string }
5151 | { type: "error.set"; error: string | null };
5252
53−function promptDraftReducer(
54− state: PromptDraftState,
55− action: PromptDraftAction,
56−): PromptDraftState {
53+function promptDraftReducer(state: PromptDraftState, action: PromptDraftAction): PromptDraftState {
5754 switch (action.type) {
5855 case "prompt.reset":
5956 return {