Skip to content

Commit

Permalink
fix(proposal): fix typecheck after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
saladNights committed Dec 16, 2024
1 parent 7eb2a9b commit e27b1bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sdk-react/src/core/queries/useMe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const useMe = () => {
};

export const useMyEntity = () => {
const { api, monite } = useMoniteContext();
const { api, entityId } = useMoniteContext();

const queryProps = api.entityUsers.getEntityUsersMyEntity.useQuery(
{},
Expand All @@ -41,7 +41,7 @@ export const useMyEntity = () => {
}
);
const { data: entitySettings } = api.entities.getEntitiesIdSettings.useQuery({
path: { entity_id: monite.entityId },
path: { entity_id: entityId },
});

const isVatSupported = Boolean(
Expand Down

0 comments on commit e27b1bb

Please sign in to comment.