Skip to content

Commit

Permalink
replace switch-community with select-community routes
Browse files Browse the repository at this point in the history
  • Loading branch information
zuies committed Nov 30, 2023
1 parent 26bdd53 commit 70894b3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 149 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function TcConfirmDeleteCommunity({
setOpenDialog(false);
setCommunityNameInput('');
handleUpdatePlatforms();
Router.push('/community-settings/switch-community');
Router.push('/centric/select-community');
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function TcSwitchCommunity() {
text={'Switch account'}
variant="outlined"
sx={{ width: '10.5rem', padding: '0.5rem' }}
onClick={() => router.push('/community-settings/switch-community')}
onClick={() => router.push('/centric/select-community')}
/>
</div>
<TcActiveCommunity />
Expand Down
4 changes: 1 addition & 3 deletions src/components/layouts/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ const Sidebar = () => {
<div className="w-full mx-auto">
<div
className="w-10 h-10 mb-2 mx-auto cursor-pointer"
onClick={() =>
router.push('/community-settings/switch-community')
}
onClick={() => router.push('/centric/select-community')}
>
{guildId && guildInfoByDiscord.icon ? (
<Image
Expand Down
144 changes: 0 additions & 144 deletions src/pages/community-settings/switch-community/index.tsx

This file was deleted.

0 comments on commit 70894b3

Please sign in to comment.