Skip to content

Commit

Permalink
feat: Add lazy loading for images in TalkListContent
Browse files Browse the repository at this point in the history
  • Loading branch information
tako0614 committed Jul 15, 2024
1 parent dd542d4 commit f72fa8d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions islands/setDefaultState.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ export default function setDefaultState({ state }: { state: AppStateType }) {
state.friendid.value = data.friendid;
state.roomName.value = roomInfo.nickName;
setIschoiseUser(true, state.isChoiceUser);
const path = window.location.pathname;
window.history.pushState(
"",
"",
"/talk/" + state.friendid.value,
)
}
}
break;
Expand Down

0 comments on commit f72fa8d

Please sign in to comment.