Skip to content

Commit

Permalink
Fix/feed app moderation (#653)
Browse files Browse the repository at this point in the history
* feat(ui): EntryCardHidden component and story

* feat: create and implement useRequest hook

* refactor(hooks): update useRequest

* refactor(moderation): remove restriction

* feat: helper method to check for delisted items
- update EntryData interface
- adjust font size and clickhandler for hidden entry card

* feat: feed-app integration with moderation api
- rename and modify checkDelisted
- update constants, interfaces and posting service

* feat: resolve all user profiles on moderation app

* Merge branch 'master' of github.com:AKASHAorg/akasha-world-framework into feat/feed-app-moderation

* feat(apps, ui): render reported posts accordingly
- move fetch-request and constants into hooks package

* fix: update import

* feat(apps, ui): show count on content tab
- update url to match environment

* fix: remove trailing slash

* fix: quotes

* fix: api url

Co-authored-by: Marius Darila <3396463+kenshyx@users.noreply.github.com>
  • Loading branch information
josenriagu and kenshyx committed Feb 10, 2021
1 parent aed004d commit 9a55e0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { rootRoute } from '../../routes';

const BASE_URL =
process.env.NODE_ENV === 'production'
? 'https://api.ethereum.world'
? 'https://moderation.ethereum.world'
: 'https://moderation.akasha.network';

export const BASE_FLAG_URL = `${BASE_URL}/flags`;
Expand Down

0 comments on commit 9a55e0d

Please sign in to comment.