Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions apps/app/components/exporter/single-export.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import React from "react";
// next imports
import Link from "next/link";
// ui
import { PrimaryButton } from "components/ui"; // icons
// helpers
Expand Down Expand Up @@ -65,11 +63,11 @@ export const SingleExport: React.FC<Props> = ({ service, refreshing }) => {
<>
{service.status == "completed" && (
<div>
<Link href={service?.url}>
<a target="_blank" href={service?.url} rel="noopener noreferrer">
<PrimaryButton className="w-full text-center">
{isLoading ? "Downloading..." : "Download"}
</PrimaryButton>
</Link>
</a>
</div>
)}
</>
Expand Down
2 changes: 1 addition & 1 deletion apps/app/pages/[workspaceSlug]/me/profile/activity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down