UNPKG

@selfcommunity/react-ui

Version:

React UI Components to integrate a Community created with SelfCommunity Platform.

8 lines (7 loc) 291 B
/** * Catch and display errors when an action is performed and * one user is blocked by the other * @param e (error) * @return boolean (true if catch errors 403) */ export declare function catchUnauthorizedActionByBlockedUser(e: any, isBlockedByMe: any, enqueueSnackbar: any): boolean;