Skip to content

Commit b4cf57d

Browse files
committed
chore: trigger redeploy
1 parent 1a18f99 commit b4cf57d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/app/api/escrow/multisig/[id]/propose/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { NextRequest, NextResponse } from 'next/server';
99
import { createClient } from '@supabase/supabase-js';
1010
import {
1111
proposeTransaction,
12-
proposeTransactionSchema,
12+
prepareTransactionSchema,
1313
} from '@/lib/multisig';
1414

1515
function getSupabase() {
@@ -29,7 +29,7 @@ export async function POST(
2929
const body = await request.json();
3030

3131
// Validate input
32-
const parsed = proposeTransactionSchema.safeParse(body);
32+
const parsed = prepareTransactionSchema.safeParse(body);
3333
if (!parsed.success) {
3434
return NextResponse.json(
3535
{ error: parsed.error.errors[0].message },

src/app/login/LoginForm.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import { startAuthentication } from '@simplewebauthn/browser';
77

88
export default function LoginForm() {
99
const router = useRouter();
10+
const searchParams = useSearchParams();
11+
const redirectTo = searchParams.get('redirect') || searchParams.get('redirectTo');
1012
const [formData, setFormData] = useState({
1113
email: '',
1214
password: '',

0 commit comments

Comments
 (0)