Name standalone mobile editor path
This commit is contained in:
1 parent
5fe180f4a5
commit
dfafc10ccf
1 file changed
+3
-1
@@ -1,9 +1,11 @@
|
||||
export const STANDALONE_MOBILE_EDITOR_PATH = "/mobile-edit.html";
|
||||
|
||||
export const getStandaloneMobileEditorHref = (memoId: string, returnTo = "/") => {
|
||||
const params = new URLSearchParams({
|
||||
memoId,
|
||||
returnTo,
|
||||
});
|
||||
return `/mobile-edit.html#${params.toString()}`;
|
||||
return `${STANDALONE_MOBILE_EDITOR_PATH}#${params.toString()}`;
|
||||
};
|
||||
|
||||
export const openStandaloneMobileEditor = (memoId: string, returnTo = "/") => {
|
||||
|
||||
Reference in new issue
Block a user