Skip to content

Commit

Permalink
removing checkout table, and buy buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciomb97 committed Oct 15, 2024
1 parent 888f4d2 commit 9cc207b
Show file tree
Hide file tree
Showing 9 changed files with 407 additions and 111 deletions.
6 changes: 0 additions & 6 deletions components/TrainForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@

<div class="mt-6 text-center">
<p class="text-md font-medium">Training Credits: {{ session?.user?.trainingCredits }}</p>
<button
@click="buy"
class="text-blue-500 underline hover:text-blue-700 transition-colors text-sm mt-2">
Buy Credits (1 training credit = 1 model)
</button>
</div>
</Form>
</template>
Expand Down Expand Up @@ -145,5 +140,4 @@ const submit = async () => {
emits("submit", values);
};
const buy = async () => navigateTo("/api/checkout", { external: true });
</script>
1 change: 1 addition & 0 deletions drizzle/0002_purple_captain_midlands.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP TABLE "checkouts";
Loading

0 comments on commit 9cc207b

Please sign in to comment.