From 64d9a196cc154a7f825e15818165c2b1a63c30a2 Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Mon, 22 Apr 2024 13:31:58 -0700 Subject: [PATCH] renderteamURL on create report --- .../websites/[websiteId]/reports/WebsiteReportsPage.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/(main)/websites/[websiteId]/reports/WebsiteReportsPage.tsx b/src/app/(main)/websites/[websiteId]/reports/WebsiteReportsPage.tsx index 84ad57d0..051f6ed3 100644 --- a/src/app/(main)/websites/[websiteId]/reports/WebsiteReportsPage.tsx +++ b/src/app/(main)/websites/[websiteId]/reports/WebsiteReportsPage.tsx @@ -1,18 +1,19 @@ 'use client'; import Link from 'next/link'; import { Button, Flexbox, Icon, Icons, Text } from 'react-basics'; -import { useMessages } from 'components/hooks'; +import { useMessages, useTeamUrl } from 'components/hooks'; import WebsiteHeader from '../WebsiteHeader'; import ReportsDataTable from 'app/(main)/reports/ReportsDataTable'; export function WebsiteReportsPage({ websiteId }) { const { formatMessage, labels } = useMessages(); + const { renderTeamUrl } = useTeamUrl(); return ( <> - +