Testing axiom

This commit is contained in:
Khalim Conn-Kowlessar 2023-07-14 16:50:39 +01:00
parent 934b41473d
commit b982e554f7

View file

@ -10,6 +10,7 @@ import { Label } from "@/app/shadcn_components/ui/label";
import { useRouter } from "next/navigation";
import { useMutation } from "@tanstack/react-query";
import { useSession } from "next-auth/react";
import { log } from `next-axiom`;
async function generatePresignedUrl({
userId,
@ -106,6 +107,7 @@ export const SubmitPlan = ({
onSuccess: (data) => {
// After the presigned URL has been generated, we can upload the file to S3
console.log("Trying mutateUploadCsv");
log.debug("Testing 123")
try {
const response = mutateUploadCsv({
presignedUrl: data.url,