Skip to content

Commit

Permalink
fix: Contributor Insight & Repository Insight uses wrong copy (#3227)
Browse files Browse the repository at this point in the history
Co-authored-by: BekahHW <34313413+BekahHW@users.noreply.github.com>
Co-authored-by: Brandon Roberts <robertsbt@gmail.com>
Co-authored-by: Nick Taylor <nick@nickyt.co>
  • Loading branch information
4 people committed May 2, 2024
1 parent f0c293e commit 2810655
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Expand Up @@ -187,12 +187,14 @@ export default function ContributorInsightEditPage({
{isOwner && (
<div className="flex flex-col p-6 rounded-2xl bg-light-slate-4">
<Title className="!text-1xl !leading-none !border-light-slate-8 border-b pb-4" level={4}>
Delete Workspace
Delete Contributor Insight
</Title>
<Text className="my-4">Once you delete a workspace, you&apos;re past the point of no return.</Text>
<Text className="my-4">
Once you delete a Contributor Insight, you&apos;re past the point of no return.
</Text>

<Button onClick={() => setIsDeleteModalOpen(true)} variant="destructive" className="w-fit">
Delete workspace
Delete Insight
</Button>
</div>
)}
Expand Down
Expand Up @@ -194,12 +194,12 @@ export default function RepoInsightEditPage({ insight, workspaceId, isOwner, bea
{isOwner && (
<div className="flex flex-col p-6 rounded-2xl bg-light-slate-4">
<Title className="!text-1xl !leading-none !border-light-slate-8 border-b pb-4" level={4}>
Delete Insight
Delete Repository Insight
</Title>
<Text className="my-4">Once you delete an insight, you&apos;re past the point of no return.</Text>
<Text className="my-4">Once you delete a Repository Insight, you&apos;re past the point of no return.</Text>

<Button onClick={() => setIsDeleteModalOpen(true)} variant="destructive" className="w-fit">
Delete insight
Delete Insight
</Button>
</div>
)}
Expand Down

0 comments on commit 2810655

Please sign in to comment.