mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-11 09:40:28 +03:00
Stop navigating to featured rooms when removing a server
This commit is contained in:
parent
919be5b846
commit
86e2c3e7c8
1 changed files with 1 additions and 2 deletions
|
|
@ -257,10 +257,9 @@ export function Explore() {
|
|||
|
||||
const removeServerCallback = useCallback(
|
||||
async (server: string) => {
|
||||
navigate(getExploreFeaturedPath());
|
||||
await removeServer(server);
|
||||
},
|
||||
[removeServer, navigate]
|
||||
[removeServer]
|
||||
);
|
||||
|
||||
const exploreUnlistedServerCallback = useCallback(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue