Skip to content

Commit edb9d20

Browse files
removed unnessasary toast from idea route
1 parent fe1d93e commit edb9d20

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/app/idea/page.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import { type Team } from "@/data/schema";
1818
import { useQuery, useQueryClient } from "@tanstack/react-query";
1919
import { type ColumnDef } from "@tanstack/react-table";
2020
import { useEffect, useState } from "react";
21-
import toast from "react-hot-toast";
2221

2322
export default function TeamsIdeasTable() {
2423
const queryClient = useQueryClient();
@@ -62,7 +61,6 @@ export default function TeamsIdeasTable() {
6261
void queryClient.invalidateQueries({
6362
queryKey: ["idea"],
6463
});
65-
toast.error(selectedTrack);
6664
}, [selectedTrack]);
6765
const handlePrevPage = () => {
6866
if (cursorHistory.length > 0) {

0 commit comments

Comments
 (0)