Skip to content

Commit

Permalink
refactor(cc use initial option query): use id arg in query object
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammer5 committed Aug 31, 2023
1 parent c1c4755 commit 64b5dd2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export function useInitialOptionQuery({
}) {
const INITIAL_OPTION_QUERY = {
categoryCombo: {
resource: `categoryCombos/${selected}`,
resource: 'categoryCombos',
id: selected,
params: {
fields: ['id', 'name'],
},
Expand Down

0 comments on commit 64b5dd2

Please sign in to comment.