fix(ui): allow reloading the failed active clan in clan list modal

This commit is contained in:
Brian McGee
2025-08-25 16:19:07 +01:00
parent b5a7a91612
commit 23b7d24399

View File

@@ -30,7 +30,8 @@ export const ListClansModal = (props: ListClansModalProps) => {
const selectClan = (uri: string) => () => {
if (uri == activeClanURI()) {
navigateToClan(navigate, uri);
// this is the easiest way of reloading the clan
window.location.reload();
} else {
setActiveClanURI(uri);
}