From 2c612fd17dfd352eb4455fc2812e2d45a0c8ff04 Mon Sep 17 00:00:00 2001 From: g-but <41178744+g-but@users.noreply.github.com> Date: Thu, 12 Feb 2026 14:54:55 +0100 Subject: [PATCH] fix: add Suspense boundary to marketplace sell page Another useSearchParams() usage without Suspense boundary. --- src/app/marketplace/sell/page.tsx | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/app/marketplace/sell/page.tsx b/src/app/marketplace/sell/page.tsx index 4bfe67275..23d70aba6 100644 --- a/src/app/marketplace/sell/page.tsx +++ b/src/app/marketplace/sell/page.tsx @@ -1,6 +1,6 @@ 'use client' -import { useState, useRef, useEffect } from 'react' +import { useState, useRef, useEffect, Suspense } from 'react' import { useSession } from 'next-auth/react' import { useRouter, useSearchParams } from 'next/navigation' import Link from 'next/link' @@ -29,7 +29,7 @@ import { ZUSTAND_OPTIONS } from '@/config/erfassung/conditions' type Step = 'form' | 'preview' -export default function SellPage() { +function SellPageContent() { const { data: session, status } = useSession() const router = useRouter() const searchParams = useSearchParams() @@ -610,3 +610,15 @@ export default function SellPage() { ) } + +export default function SellPage() { + return ( + + + + }> + + + ) +}