refactor: Rename ownerMachine to groupId in Command (#3010)

* refactor: Rename ownerMachine to groupId in Command

Commands don't need to be part of a state machine.

* Fix formatting
This commit is contained in:
Jonathan Tran
2024-07-11 18:10:47 -04:00
committed by GitHub
parent b971f3ecf4
commit 2dd1f0f213
7 changed files with 18 additions and 21 deletions

View File

@ -124,7 +124,7 @@ export function createSettingsCommand({
displayName: `Settings · ${decamelize(type.replaceAll('.', ' · '), {
separator: ' ',
})}`,
ownerMachine: 'settings',
groupId: 'settings',
icon: 'settings',
needsReview: false,
onSubmit: (data) => {