Skip to content

Commit 0326965

Browse files
committed
Revert "Add donation gate component to prompt users before app creation"
This reverts commit 7a37e44.
1 parent b14a51b commit 0326965

2 files changed

Lines changed: 1 addition & 181 deletions

File tree

apps/web/src/lib/components/DonationGate.svelte

Lines changed: 0 additions & 171 deletions
This file was deleted.

apps/web/src/routes/dashboard/apps/new/+page.svelte

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import { goto } from '$app/navigation';
33
import { api, ApiError } from '$lib/api.js';
44
import { JIOBASE_DOMAIN } from '@jiobase/shared';
5-
import DonationGate from '$lib/components/DonationGate.svelte';
65
76
let name = $state('');
87
let slug = $state('');
@@ -11,7 +10,6 @@
1110
let submitting = $state(false);
1211
let slugManuallyEdited = $state(false);
1312
let urlTouched = $state(false);
14-
let showDonationGate = $state(false);
1513
1614
const supabaseUrlRegex = /^https:\/\/[a-z0-9]+\.supabase\.co$/;
1715
let urlError = $derived(
@@ -38,14 +36,9 @@
3836
slugManuallyEdited = true;
3937
}
4038
41-
function handleSubmit(e: Event) {
39+
async function handleSubmit(e: Event) {
4240
e.preventDefault();
4341
error = '';
44-
// Show donation gate before creating
45-
showDonationGate = true;
46-
}
47-
48-
async function createApp() {
4942
submitting = true;
5043
try {
5144
const res = await api.apps.create({
@@ -73,8 +66,6 @@
7366
}
7467
</script>
7568

76-
<DonationGate bind:open={showDonationGate} onproceed={createApp} />
77-
7869
<div class="mx-auto max-w-lg">
7970
<h1 class="text-2xl font-bold text-white">Create New App</h1>
8071
<p class="mt-1 text-sm text-gray-400">Connect your Supabase project through JioBase's proxy.</p>

0 commit comments

Comments
 (0)