MCPcopy Index your code
hub / github.com/chartbrew/chartbrew / getErrorMessage

Function getErrorMessage

client/src/containers/Signup.jsx:38–40  ·  view source on GitHub ↗
(resp, fallbackMessage)

Source from the content-addressed store, hash-verified

36 const { isDark } = useTheme();
37
38 const getErrorMessage = (resp, fallbackMessage) => {
39 return resp?.error?.message || fallbackMessage;
40 };
41
42 const submitUser = async (e) => {
43 e.preventDefault();

Callers 1

submitUserFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected