Skip to content

Commit

Permalink
chore: update url to notif settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
kalashshah committed Oct 3, 2023
1 parent 57c345d commit a43adab
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/ChannelDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export default function ChannelDetails({ isChannelExpired, setIsChannelExpired,
};

const navigateToNotifSettings = () => {
navigate('/notif-settings');
navigate('/channel/settings');
};

return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/channel/ChannelInfoList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const ChannelInfoList = (props: ChannelInfoListProps) => {
const navigate = useNavigate();

const handleNavigateToModifySettings = () => {
navigate(`/notif-settings`);
navigate(`/channel/settings`);
};

return (
Expand Down
2 changes: 1 addition & 1 deletion src/modules/notifSettings/NotifSettingsModule.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const ALLOWED_CORE_NETWORK = appConfig.coreContractChain; //chainId of ne

// Create Header
function NotifSettingsPage() {
ReactGA.pageview('/notif-settings');
ReactGA.pageview('/channel/settings');

// toast related section
const [toast, showToast] = React.useState(null);
Expand Down
2 changes: 1 addition & 1 deletion src/structure/MasterInterfacePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function MasterInterfacePage() {
<Route path="dashboard" element={<ChannelDashboardPage />} />
<Route path="send" element={<SendNotifsPage />} />
<Route path="receive" element={<ReceiveNotifsPage />} />
<Route path="notif-settings" element={<NotifSettingsPage />} />
<Route path="channel/settings" element={<NotifSettingsPage />} />

<Route path="govern" element={<GovPage />} />
<Route path="snap" element={<SnapPage />} />
Expand Down

0 comments on commit a43adab

Please sign in to comment.