Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(flat-web): open replay in a new tab page #829

Merged

Conversation

Cheerego7
Copy link
Member

No description provided.

@BlackHole1 BlackHole1 changed the title refactor(flat-web): adjust open replay page method refactor(flat-web): open replay in a new tab page Jul 29, 2021
@@ -213,7 +213,8 @@ export const MainRoomList = observer<MainRoomListProps>(function MainRoomList({
);

function replayRoom(config: { roomUUID: string; ownerUUID: string; roomType: RoomType }): void {
pushHistory(RouteNameType.ReplayPage, config);
const { roomUUID, ownerUUID, roomType } = config;
window.open(`${INVITE_BASEURL}/replay/${roomType}/${roomUUID}/${ownerUUID}/`, "_blank");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

INVITE_BASEURL Does not meet the semantics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants