4 Replies
Hi @.kinaye. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
In refine, you can close a notification using the
close
method from the useNotification
hook. This method requires a key
which is the identifier of the notification you want to close.
Here's an example of how you can use it:
In this example, replace "notification-key"
with the key of the notification you want to close.
For more information, you can refer to the useNotification documentation (https://refine.dev/docs/api-reference/core/hooks/useNotification) and the NotificationProvider documentation (https://refine.dev/docs/api-reference/core/providers/notification-provider/).
----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon:
----------------------<@453844603791998977> kapa.ai is still learning and improving, please let us how it did by reacting below
genetic-orange•15mo ago
@.kinaye that notification appears whenever you use Inferencers. Just copy the code and replace it.
sensitive-blue•15mo ago
code that sent me bot i think useles, but thanks for your answer of Inferencers, i will try to solve it