import { useSnackbar as useSnackbarProvider } from '@/components/Provider/SnackbarProvider';

// 简化的 hooks
export const useMessage = () => {
  const { showMessage } = useSnackbarProvider();
  return showMessage;
};

export const useNotification = () => {
  const { showNotification } = useSnackbarProvider();
  return showNotification;
};

export const useSnackbar = () => {
  const { showMessage, showNotification } = useSnackbarProvider();
  return { showMessage, showNotification };
};