Skip to content

Commit 0312bb5

Browse files
author
Rajat Saxena
committed
Switched the positioning
1 parent 4492714 commit 0312bb5

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

apps/web/components/admin/settings/index.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -922,21 +922,18 @@ const Settings = (props: SettingsProps) => {
922922
</CardHeader>
923923
<CardContent className="grid gap-4">
924924
<div className="grid gap-2">
925-
<Label>
926-
Old Payment Webhook (Required for products
927-
but will be phased out soon)
928-
</Label>
925+
<Label>New Payment Plans Webhook</Label>
929926
<div className="flex gap-2">
930927
<Input
931928
readOnly
932-
value="http://localhost:3000/api/payment/webhook-old"
929+
value="http://localhost:3000/api/payment/webhook"
933930
/>
934931
<Button
935932
variant="outline"
936933
size="icon"
937934
onClick={() =>
938935
copyToClipboard(
939-
"http://localhost:3000/api/payment/webhook-old",
936+
"http://localhost:3000/api/payment/webhook",
940937
)
941938
}
942939
>
@@ -945,18 +942,21 @@ const Settings = (props: SettingsProps) => {
945942
</div>
946943
</div>
947944
<div className="grid gap-2">
948-
<Label>New Payment Plans Webhook</Label>
945+
<Label>
946+
Old Payment Webhook (Required for products
947+
but will be phased out soon)
948+
</Label>
949949
<div className="flex gap-2">
950950
<Input
951951
readOnly
952-
value="http://localhost:3000/api/payment/webhook"
952+
value="http://localhost:3000/api/payment/webhook-old"
953953
/>
954954
<Button
955955
variant="outline"
956956
size="icon"
957957
onClick={() =>
958958
copyToClipboard(
959-
"http://localhost:3000/api/payment/webhook",
959+
"http://localhost:3000/api/payment/webhook-old",
960960
)
961961
}
962962
>

0 commit comments

Comments
 (0)