dify/web/app/(commonLayout)/tools/page.tsx
Stephen Zhou a84c2d36a3
style: format with vp fmt (#38803)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-12 15:57:46 +00:00

16 lines
543 B
TypeScript

import type { LegacyToolsSearchParams } from '@/app/components/integrations/routes'
import { getIntegrationRedirectPathByLegacyToolsSearchParams } from '@/app/components/integrations/routes'
import { redirect } from '@/next/navigation'
type ToolsPageProps = {
searchParams?: Promise<LegacyToolsSearchParams>
}
const ToolsPage = async ({ searchParams }: ToolsPageProps) => {
const resolvedSearchParams = await searchParams
redirect(getIntegrationRedirectPathByLegacyToolsSearchParams(resolvedSearchParams))
}
export default ToolsPage