Fix duplicate toast notifications by adding ref guard
cgen-208e6e90350045968d6e8ce6ba33dfca
This commit is contained in:
parent
df94a64581
commit
bf6d49e491
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { useState, useEffect } from "react";
|
||||
import { useState, useEffect, useRef } from "react";
|
||||
import Layout from "@/components/Layout";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
|
||||
|
|
|
|||
Loading…
Reference in a new issue