From b2e57603918aab0cb575458fede535c41e565abe Mon Sep 17 00:00:00 2001 From: srinivas pendem <65014795+srinivaspendem@users.noreply.github.com> Date: Mon, 28 Aug 2023 15:54:20 +0530 Subject: [PATCH] bugfix: Export download next link changed to anchor (#2000) * bugfix: Export download next link changd to anchot * bugfix: user workspace service name update --------- Co-authored-by: srinivaspendem --- apps/app/components/exporter/single-export.tsx | 6 ++---- apps/app/pages/[workspaceSlug]/me/profile/activity.tsx | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/apps/app/components/exporter/single-export.tsx b/apps/app/components/exporter/single-export.tsx index 34eb1510a..c8ef2dc1a 100644 --- a/apps/app/components/exporter/single-export.tsx +++ b/apps/app/components/exporter/single-export.tsx @@ -1,6 +1,4 @@ import React from "react"; -// next imports -import Link from "next/link"; // ui import { PrimaryButton } from "components/ui"; // icons // helpers @@ -65,11 +63,11 @@ export const SingleExport: React.FC = ({ service, refreshing }) => { <> {service.status == "completed" && (
- + {isLoading ? "Downloading..." : "Download"} - +
)} diff --git a/apps/app/pages/[workspaceSlug]/me/profile/activity.tsx b/apps/app/pages/[workspaceSlug]/me/profile/activity.tsx index eba97e1ec..3a8e9f8da 100644 --- a/apps/app/pages/[workspaceSlug]/me/profile/activity.tsx +++ b/apps/app/pages/[workspaceSlug]/me/profile/activity.tsx @@ -27,7 +27,7 @@ const ProfileActivity = () => { const { data: userActivity } = useSWR( workspaceSlug ? USER_ACTIVITY : null, - workspaceSlug ? () => userService.getUserActivity(workspaceSlug.toString()) : null + workspaceSlug ? () => userService.getUserWorkspaceActivity(workspaceSlug.toString()) : null ); return (