MCPcopy Create free account
hub / github.com/OpenSignLabs/OpenSign / showAlert

Function showAlert

apps/OpenSign/src/pages/Preferences.jsx:61–66  ·  view source on GitHub ↗
(type, msg)

Source from the content-addressed store, hash-verified

59 }, []);
60
61 const showAlert = (type, msg) => {
62 dispatch(setAlertInfo({ type, msg }));
63 setTimeout(() => {
64 dispatch(setAlertInfo({ type: "success", msg: "" }));
65 }, 2000);
66 };
67
68 const fetchSignType = withSessionValidation(async () => {
69 dispatch(setTopLoader(true));

Callers 1

PreferencesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected