Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
daledah committed Aug 7, 2024
1 parent b15eb1d commit 763ecd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/usePolicy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function getPolicyIDOrDefault(policyID?: string) {
}
return policyID;
}
g

function usePolicy(policyID?: string) {
const [policy] = useOnyx(`${ONYXKEYS.COLLECTION.POLICY}${getPolicyIDOrDefault(policyID)}`);
return policy;
Expand Down

0 comments on commit 763ecd1

Please sign in to comment.