Skip to content

Commit e048786

Browse files
committed
Better name for the ExecutePageAction function
1 parent ab5e216 commit e048786

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/routes/SynopticPage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { BeamlineTreeStateContext } from "../App";
2929
import { useParams, useSearchParams, useLocation } from "react-router-dom";
3030
import {
3131
executeOpenPageActionWithUrlId,
32-
ExecutePageAction
32+
executeOpenPageAction
3333
} from "../utils/csWebLibActions";
3434

3535
const FILE_DESCRIPTION_SEARCH_PARAMETER_NAME = "file_description";
@@ -107,7 +107,7 @@ export function SynopticPage() {
107107
const fileDescription = JSON.parse(
108108
fileDescriptionParam
109109
) as FileDescription;
110-
ExecutePageAction(
110+
executeOpenPageAction(
111111
fileDescription.path,
112112
fileDescription.macros,
113113
fileDescription.defaultProtocol,

src/utils/csWebLibActions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ export const executeOpenPageActionWithFileMetadata = (
6161

6262
const protocol = "ca";
6363

64-
ExecutePageAction(newScreen, allMacros, protocol, fileContext, urlPath);
64+
executeOpenPageAction(newScreen, allMacros, protocol, fileContext, urlPath);
6565
};
6666

67-
export const ExecutePageAction = (
67+
export const executeOpenPageAction = (
6868
screenFileUrl: string,
6969
macros: MacroMap,
7070
protocol: string,

0 commit comments

Comments
 (0)