first commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { Utils as QbUtils } from "react-awesome-query-builder";
|
||||
|
||||
import type { GlobalRoute, SerializableRoute } from "../types/types";
|
||||
|
||||
export const createFallbackRoute = (): Exclude<SerializableRoute, GlobalRoute> => {
|
||||
const uuid = QbUtils.uuid();
|
||||
return {
|
||||
id: uuid,
|
||||
isFallback: true,
|
||||
action: {
|
||||
type: "customPageMessage",
|
||||
value: "Thank you for your interest! We will be in touch soon.",
|
||||
},
|
||||
queryValue: { id: uuid, type: "group" },
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user