A local-first personal finance app
Revert "Add "error" Page for special accounts in Mobile" (#2186)
DJ Mountneye0d82fd4f983
diff --git a/packages/desktop-client/src/components/accounts/MobileAccount.jsx b/packages/desktop-client/src/components/accounts/MobileAccount.jsxindex 85233245dd..f0a1f4ae5e 100644--- a/packages/desktop-client/src/components/accounts/MobileAccount.jsx+++ b/packages/desktop-client/src/components/accounts/MobileAccount.jsx@@ -22,10 +22,7 @@ import {import { useCategories } from '../../hooks/useCategories';import { useNavigate } from '../../hooks/useNavigate';import { useSetThemeColor } from '../../hooks/useSetThemeColor';-import { theme, styles } from '../../style';-import Button from '../common/Button';-import Text from '../common/Text';-import View from '../common/View';+import { theme } from '../../style';import { AccountDetails } from './MobileAccountDetails';@@ -174,27 +171,6 @@ export function Account(props) {return null;}- if (- accountId === 'budgeted' ||- accountId === 'offbudget' ||- accountId === 'uncategorized'- ) {- return (- <View style={{ flex: 1, padding: 30 }}>- <Text style={(styles.text, { textAlign: 'center' })}>- There is no Mobile View at the moment- </Text>- <Button- type="normal"- style={{ fontSize: 15, marginLeft: 10, marginTop: 10 }}- onClick={() => navigate('/accounts')}- >- Go back to Mobile Accounts- </Button>- </View>- );- }-const account = accounts.find(acct => acct.id === accountId);const isNewTransaction = id => {diff --git a/upcoming-release-notes/2114.md b/upcoming-release-notes/2114.mddeleted file mode 100644index 0e02c17de1..0000000000--- a/upcoming-release-notes/2114.md+++ /dev/null@@ -1,6 +0,0 @@-----category: Bugfix-authors: [HansiWursti]------mobile: error page for special account urlsdiff --git a/upcoming-release-notes/2186.md b/upcoming-release-notes/2186.mdnew file mode 100644index 0000000000..a9b4cdfea6--- /dev/null+++ b/upcoming-release-notes/2186.md@@ -0,0 +1,6 @@+---+category: Maintenance+authors: [twk3]+---++Revert to fix master: Add error Page for special accounts in Mobile