Skip to content

Commit

Permalink
chat changes
Browse files Browse the repository at this point in the history
  • Loading branch information
duplixx committed Nov 20, 2023
1 parent 816e761 commit 74b8afd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import Settings from 'screens/UserPortal/Settings/Settings';
import Donate from 'screens/UserPortal/Donate/Donate';
import Events from 'screens/UserPortal/Events/Events';
import Tasks from 'screens/UserPortal/Tasks/Tasks';
import Chat from 'screens/UserPortal/Chat/Chat';
// import Chat from 'screens/UserPortal/Chat/Chat';

function app(): JSX.Element {
/*const { updatePluginLinks, updateInstalled } = bindActionCreators(
Expand Down Expand Up @@ -128,7 +128,7 @@ function app(): JSX.Element {
<SecuredRouteForUser path="/user/donate" component={Donate} />
<SecuredRouteForUser path="/user/events" component={Events} />
<SecuredRouteForUser path="/user/tasks" component={Tasks} />
<SecuredRouteForUser path="/user/chat" component={Chat} />
{/* <SecuredRouteForUser path="/user/chat" component={Chat} /> */}

<Route exact path="*" component={PageNotFound} />
</Switch>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ function organizationNavbar(props: InterfaceNavbarProps): JSX.Element {
translated: t('donate'),
view: true,
},
{
pluginName: 'Chats',
alias: 'chat',
link: `/user/chat/id=${organizationId}`,
translated: t('chat'),
view: true,
},
// {
// pluginName: 'Chats',
// alias: 'chat',
// link: `/user/chat/id=${organizationId}`,
// translated: t('chat'),
// view: true,
// },
];
if (localStorage.getItem('talawaPlugins')) {
const talawaPlugins: string = localStorage.getItem('talawaPlugins') || '{}';
Expand Down

0 comments on commit 74b8afd

Please sign in to comment.