own version of toast

This commit is contained in:
proddy
2026-06-19 11:52:33 +02:00
parent 88a777ca5f
commit 392812d489
30 changed files with 177 additions and 62 deletions

View File

@@ -1,9 +1,9 @@
import { useCallback, useState } from 'react';
import { useBlocker } from 'react-router';
import { toast } from 'react-toastify';
import type { AlovaGenerics, Method } from 'alova';
import { useRequest } from 'alova/client';
import { toast } from 'components/toast';
import { useI18nContext } from 'i18n/i18n-react';
export interface RestRequestOptions<D> {