mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-26 14:56:39 +00:00
standardize header, save all button for targets, fix update site on resource
This commit is contained in:
@@ -5,6 +5,7 @@ import { AcceptInviteResponse } from "@server/routers/user";
|
||||
import { AxiosResponse } from "axios";
|
||||
import { redirect } from "next/navigation";
|
||||
import InviteStatusCard from "./InviteStatusCard";
|
||||
import { formatAxiosError } from "@app/lib/utils";
|
||||
|
||||
export default async function InvitePage(props: {
|
||||
searchParams: Promise<{ [key: string]: string | string[] | undefined }>;
|
||||
@@ -47,8 +48,7 @@ export default async function InvitePage(props: {
|
||||
await authCookieHeader()
|
||||
)
|
||||
.catch((e) => {
|
||||
error = e.response?.data?.message;
|
||||
console.log(error);
|
||||
console.error(e);
|
||||
});
|
||||
|
||||
if (res && res.status === 200) {
|
||||
|
||||
Reference in New Issue
Block a user