mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-05 23:10:28 +03:00
Revert "Add a page and config option for a room directory server"
This reverts commit401d8ed930. Revert "Minor styling changes" This reverts commit3de1ce8f2f. Revert "Use consistent "bookmark" wording in code and UI" This reverts commitc45cb62e2d. Revert "Move featured servers into the Featured section" This reverts commit53612f4641.
This commit is contained in:
parent
6a462d2801
commit
be51dc5f12
13 changed files with 279 additions and 377 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import { useMatch, useParams } from 'react-router-dom';
|
||||
import { getExploreFeaturedPath, getExplorePath } from '../../pages/pathUtils';
|
||||
import { useClientConfig } from '../useClientConfig';
|
||||
|
||||
export const useExploreSelected = (): boolean => {
|
||||
const match = useMatch({
|
||||
|
|
@ -27,8 +26,3 @@ export const useExploreServer = (): string | undefined => {
|
|||
|
||||
return server;
|
||||
};
|
||||
|
||||
export const useDirectoryServer = (): string | undefined => {
|
||||
const { featuredCommunities } = useClientConfig();
|
||||
return featuredCommunities?.directoryServer;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue