Skip to content

Commit

Permalink
optional pinned groups dev data param
Browse files Browse the repository at this point in the history
  • Loading branch information
tudddorrr committed Oct 22, 2024
1 parent 1a20b78 commit 006c31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/usePinnedGroups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import makeValidatedGetRequest from './makeValidatedGetRequest'
import { playerGroupSchema } from '../entities/playerGroup'
import { z } from 'zod'

export default function usePinnedGroups(activeGame: Game | null, includeDevData: boolean) {
export default function usePinnedGroups(activeGame: Game | null, includeDevData?: boolean) {
const fetcher = async ([url]: [string]) => {
const res = await makeValidatedGetRequest(url, z.object({
groups: z.array(playerGroupSchema)
Expand Down

0 comments on commit 006c31d

Please sign in to comment.