Skip to content

Commit

Permalink
style: lower case first letter in variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
superskip committed Nov 24, 2023
1 parent 6764efb commit b5ee351
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { userStores, getUserStorageController } from '../../storageControllers';
import { useIndexedDBQuery } from '../reactQueryHelpers';


export const useProgramFromIndexedDB = (programId: ?string, QueryOptions?: UseQueryOptions<>) => {
export const useProgramFromIndexedDB = (programId: ?string, queryOptions?: UseQueryOptions<>) => {
const storageController = getUserStorageController();
const { enabled = true } = QueryOptions ?? {};
const { enabled = true } = queryOptions ?? {};

const { data, isLoading, isError } = useIndexedDBQuery(
// $FlowFixMe - only gets called when programId is defined because of enabled
Expand Down

0 comments on commit b5ee351

Please sign in to comment.