Skip to content

Commit

Permalink
Remove nibble/wallet references
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikhorluck committed Apr 6, 2024
1 parent e6a8caa commit b087e58
Show file tree
Hide file tree
Showing 31 changed files with 52 additions and 886 deletions.
2 changes: 0 additions & 2 deletions src/core/appUrls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export const getLoginPageUrl = () => url`/login`;
export const getMyProfileUrl = () => url`/profile`;
export const getOfflinesUrl = () => url`/offlines`;
export const getPaymentEventUrl = (eventId: number) => url`/payments/events/${{ eventId }}`;
export const getPaymentWalletUrl = () => url`/payments/wallet`;
export const getPaymentWebshopUrl = () => url`/payments/webshop`;
export const getPublicProfileUrl = (userId: number) => url`/profile/public/${{ userId }}`;
export const getProfileSettingsUrl = () => url`/profile/settings`;
Expand All @@ -30,6 +29,5 @@ export const getProfileCalendarUrl = () => url`/profile/settings/calendar`;
export const getProfileMembershipUrl = () => url`/profile/settings/membership`;
export const getProfileStatisticsUrl = () => url`/profile/statistics`;
export const getProfileStatisticsEventsUrl = () => url`/profile/statistics/events`;
export const getProfileStatisticsOrdersUrl = () => url`/profile/statistics/orders`;
export const getProfileSearchUrl = () => url`/profile/search`;
export const getResourcesUrl = () => url`/resources`;
5 changes: 1 addition & 4 deletions src/core/components/Header/Login.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState } from 'react';
import { logOut } from 'authentication/api';
import LoginView from 'authentication/components/Login';
import { getMyProfileUrl, getPaymentWalletUrl } from 'core/appUrls';
import { getMyProfileUrl } from 'core/appUrls';
import { Link } from 'core/components/Router';

import style from './header.less';
Expand Down Expand Up @@ -79,9 +79,6 @@ const HeaderUser = (props: IHeaderUserProps) => {
</Link>
</>
)}
<Link {...getPaymentWalletUrl()}>
<a>Saldo</a>
</Link>
<Link href="/contact">
<a>Kontakt oss</a>
</Link>
Expand Down
2 changes: 0 additions & 2 deletions src/core/redux/Store.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { ruleBundlesReducer } from 'events/slices/ruleBundles';
import { onlineGroupsReducer } from 'groups/slices/onlineGroups';
import { transactionsReducer } from 'payments/reducers/transactions';
import { paymentsReducer } from 'payments/slices/payments';
import { shopReducer } from 'shop/reducers';
import { publicAttendeesReducer } from 'events/slices/publicAttendees';
import { notificationMessagesReducer } from 'notifications/slices/notifications';
import { notificationPermissionsReducer } from 'notifications/slices/permissions';
Expand Down Expand Up @@ -42,7 +41,6 @@ export const initStore = (initialState: {} = {}) => {
payments: paymentsReducer,
publicAttendees: publicAttendeesReducer,
ruleBundles: ruleBundlesReducer,
shop: shopReducer,
transactions: transactionsReducer,
},
/* eslint sort-keys: "off" */
Expand Down
17 changes: 0 additions & 17 deletions src/pages/payments/wallet.tsx

This file was deleted.

14 changes: 0 additions & 14 deletions src/pages/profile/statistics/orders.tsx

This file was deleted.

This file was deleted.

This file was deleted.

126 changes: 0 additions & 126 deletions src/payments/components/Transactions/CreateTransaction/StripeForm.tsx

This file was deleted.

19 changes: 0 additions & 19 deletions src/payments/components/Transactions/CreateTransaction/index.tsx

This file was deleted.

93 changes: 0 additions & 93 deletions src/payments/components/Transactions/Purchases.tsx

This file was deleted.

30 changes: 0 additions & 30 deletions src/payments/components/Transactions/Transaction.tsx

This file was deleted.

Loading

0 comments on commit b087e58

Please sign in to comment.