Skip to content

Commit

Permalink
fix: first fetch updated
Browse files Browse the repository at this point in the history
  • Loading branch information
amandesai01 committed Sep 5, 2024
1 parent 8cdc5b4 commit 2c342f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/composables/repositories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export async function useObjectRepository<
};

if (!firstFetched.value) {
firstFetched.value = true;
await fetchExecute();
setFetchData();
}
Expand Down

0 comments on commit 2c342f5

Please sign in to comment.