PromucFlow_constructor/app/client/src/sagas/WebsocketSagas/utils.ts

9 lines
189 B
TypeScript
Raw Normal View History

export const getPageLevelSocketRoomId = (
pageId: string,
currentGitBranch?: string,
) => {
return currentGitBranch
? `${pageId}-${currentGitBranch}`
: (pageId as string);
};