Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

279 B
Raw Blame
import { pushNotification } from "@/lib/toast";
import type { AppSliceCreator, NotificationSlice } from "./types";

export const createNotificationSlice: AppSliceCreator<
  NotificationSlice
> = () => ({
  notify: (notification) => {
    pushNotification(notification);
  },
});