Skip to content

Commit

Permalink
chore: remove / rearrange composables
Browse files Browse the repository at this point in the history
  • Loading branch information
amandesai01 committed Sep 7, 2024
1 parent 68db41f commit 5d2195e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 32 deletions.
7 changes: 0 additions & 7 deletions app/composables/api.ts

This file was deleted.

8 changes: 8 additions & 0 deletions app/composables/applications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,11 @@ export function useApplications() {
applications,
};
}

export function useApplicationStatus(postingId: string) {
const auth = useAuth();
return useFetch('/api/application-status', {
query: { postingId },
immediate: auth.isSignedIn.value,
});
}
4 changes: 4 additions & 0 deletions app/composables/onboarding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ export function useOnboarding() {

return { key, finishOnboarding };
}

export function useOnboardingStatus() {
return useOnboardingStatusState();
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,3 @@ export function useRemoteAsset(slug: string) {

return { url };
}

export function useOnboardingStatus() {
return useOnboardingStatusState();
}
21 changes: 0 additions & 21 deletions app/composables/trix.ts

This file was deleted.

0 comments on commit 5d2195e

Please sign in to comment.