Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannaPeanut committed Oct 31, 2023
1 parent 555867c commit df3de24
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/subsections/components/SubsectionTableAdmin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ type Props = {

export const SubsectionTableAdmin: React.FC<Props> = ({ subsections, updatedIds }) => {
const [deleteSubsectionMutation] = useMutation(deleteSubsection)
const router = useRouter()
const { projectSlug, subsectionSlug } = useSlugs()
const { projectSlug } = useSlugs()
const handleSlugCopyClick = async (slug: string) => {
await navigator.clipboard.writeText(slug)
}
Expand All @@ -34,7 +33,7 @@ export const SubsectionTableAdmin: React.FC<Props> = ({ subsections, updatedIds

return (
<section>
{updatedIds?.length && (
{Boolean(updatedIds?.length) && (
<p className="text-base mt-8 border-4 border-blue-100 p-8">
Die Planungsabschnitte mit den Ids <code>{JSON.stringify(updatedIds)}</code> (in der
Tabelle blau hinterlegt) wurden in Felt erkannt und ggf. aktualisiert.
Expand Down

0 comments on commit df3de24

Please sign in to comment.