* Implemented code splitting of some files for SAML integration * Implemented code splitting of some more files for SAML integration * updated redirect url component * fixed an import statement * fixed a unit test * updated restart banner tooltip logic * updated an import statement
17 lines
330 B
TypeScript
17 lines
330 B
TypeScript
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
|
|
|
|
export const flushErrors = () => {
|
|
return {
|
|
type: ReduxActionTypes.FLUSH_ERRORS,
|
|
};
|
|
};
|
|
|
|
export const flushErrorsAndRedirect = (url: string) => {
|
|
return {
|
|
type: ReduxActionTypes.FLUSH_AND_REDIRECT,
|
|
payload: {
|
|
url,
|
|
},
|
|
};
|
|
};
|