Skip to content

Commit

Permalink
refactor typo
Browse files Browse the repository at this point in the history
Co-authored-by: Riku Rouvila <[email protected]>
  • Loading branch information
tareq89 and rikukissa authored Oct 31, 2024
1 parent 2a81be0 commit 3193159
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/client/src/declarations/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ export const getInitialDeclarationsLoaded = (
export const selectDeclaration =
<T extends IDeclaration | undefined>(declarationId: string) =>
(store: IStoreState) => {
const bar = getKey(store, 'declarations').find(
return getKey(store, 'declarations').find(
({ id }) => declarationId === id
) as T
return bar
}

export const useDeclaration = <T extends IDeclaration | undefined>(
Expand Down

0 comments on commit 3193159

Please sign in to comment.