import { useContext } from "react";
import MySnackbarProvider from "./MySnackbarProvider";
import snackbarContext from "./snackbarContext";

const useMessage = () => useContext(snackbarContext);

export { MySnackbarProvider, useMessage };
