Skip to content

Commit

Permalink
fix: assign command path to correct field
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxuum committed Feb 4, 2024
1 parent 328626e commit c9fd514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/interface/store/command/commandSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const initialCommandState: CommandState = {};
export const commandSlice = createProducer(initialCommandState, {
setCommand: (state, path?: ImmutableCommandPath) => ({
...state,
command: path,
path,
}),

setArgIndex: (state, index?: number) => ({ ...state, argIndex: index }),
Expand Down

0 comments on commit c9fd514

Please sign in to comment.