Skip to content

Commit

Permalink
ContactsTable: add back link
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannaPeanut committed Feb 12, 2025
1 parent eb6e615 commit bed6777
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client"
import { ObjectDump } from "@/src/app/admin/_components/ObjectDump"
import { improveErrorMessage } from "@/src/core/components/forms/improveErrorMessage"
import { pinkButtonStyles } from "@/src/core/components/links"
import { Link, pinkButtonStyles } from "@/src/core/components/links"
import { ButtonWrapper } from "@/src/core/components/links/ButtonWrapper"
import { useProjectSlug } from "@/src/core/routes/useProjectSlug"
import { isProduction } from "@/src/core/utils"
Expand Down Expand Up @@ -152,6 +152,9 @@ export const ContactsTable = () => {

return (
<>
<Link className="pb-4" href={`/${projectSlug}/contacts`}>
Zurück zu externen Kontakten
</Link>
<div className="mb-5 flex w-full items-start justify-between gap-5">
{errors.length > 0 ? (
<ul className="text-red-800">
Expand Down Expand Up @@ -184,7 +187,6 @@ export const ContactsTable = () => {
</button>
</ButtonWrapper>
</div>

<DataSheetGrid
value={data}
createRow={() => ({
Expand Down

0 comments on commit bed6777

Please sign in to comment.