Skip to content

Commit

Permalink
chore(actions): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lindtvedtsebastian committed Dec 7, 2023
1 parent a931ade commit fcbc928
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions next-tavla/app/(admin)/organizations/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { cookies } from 'next/headers'
import { redirect } from 'next/navigation'
import { CreateOrganization } from './components/CreateOrganization'
import { OrganizationsTable } from './components/OrganizationsTable'
import { Metadata } from 'next'

export const metadata: Metadata = {
title: 'Organisasjoner | Entur Tavla',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function RemoveUserButton({
oid?: TOrganizationID
}) {
const [state, formAction] = useFormState(removeUserAction, undefined)
console.log(state)

return (
<form action={formAction}>
<HiddenInput id="uid" value={uid} />
Expand Down

0 comments on commit fcbc928

Please sign in to comment.