diff options
author | 2022-07-04 12:51:44 +0530 | |
---|---|---|
committer | 2022-07-04 13:08:32 +0530 | |
commit | 91cc78009cf57ad8f53e69d20aa974f4833e61b0 (patch) | |
tree | 10a4e397734d7ac1c70dd9acbe86108a5344ed7f /src/containers/settings | |
parent | Disable symlinks to build_id for rpm (diff) | |
download | ferdium-app-91cc78009cf57ad8f53e69d20aa974f4833e61b0.tar.gz ferdium-app-91cc78009cf57ad8f53e69d20aa974f4833e61b0.tar.zst ferdium-app-91cc78009cf57ad8f53e69d20aa974f4833e61b0.zip |
chore: Use relative paths while importing from custom code
Diffstat (limited to 'src/containers/settings')
-rw-r--r-- | src/containers/settings/AccountScreen.tsx | 2 | ||||
-rw-r--r-- | src/containers/settings/EditServiceScreen.tsx | 8 | ||||
-rw-r--r-- | src/containers/settings/EditSettingsScreen.tsx | 4 | ||||
-rw-r--r-- | src/containers/settings/EditUserScreen.tsx | 4 | ||||
-rw-r--r-- | src/containers/settings/InviteScreen.tsx | 2 | ||||
-rw-r--r-- | src/containers/settings/RecipesScreen.tsx | 4 | ||||
-rw-r--r-- | src/containers/settings/ServicesScreen.tsx | 2 | ||||
-rw-r--r-- | src/containers/settings/SettingsWindow.tsx | 3 | ||||
-rw-r--r-- | src/containers/settings/TeamScreen.tsx | 2 |
9 files changed, 15 insertions, 16 deletions
diff --git a/src/containers/settings/AccountScreen.tsx b/src/containers/settings/AccountScreen.tsx index 480b61f6c..e072b28af 100644 --- a/src/containers/settings/AccountScreen.tsx +++ b/src/containers/settings/AccountScreen.tsx | |||
@@ -1,7 +1,7 @@ | |||
1 | import { Component, ReactElement } from 'react'; | 1 | import { Component, ReactElement } from 'react'; |
2 | import { inject, observer } from 'mobx-react'; | 2 | import { inject, observer } from 'mobx-react'; |
3 | 3 | ||
4 | import { StoresProps } from 'src/@types/ferdium-components.types'; | 4 | import { StoresProps } from '../../@types/ferdium-components.types'; |
5 | 5 | ||
6 | import AccountDashboard from '../../components/settings/account/AccountDashboard'; | 6 | import AccountDashboard from '../../components/settings/account/AccountDashboard'; |
7 | import ErrorBoundary from '../../components/util/ErrorBoundary'; | 7 | import ErrorBoundary from '../../components/util/ErrorBoundary'; |
diff --git a/src/containers/settings/EditServiceScreen.tsx b/src/containers/settings/EditServiceScreen.tsx index 93fb4418d..f8532a7b4 100644 --- a/src/containers/settings/EditServiceScreen.tsx +++ b/src/containers/settings/EditServiceScreen.tsx | |||
@@ -3,10 +3,10 @@ import { inject, observer } from 'mobx-react'; | |||
3 | import { defineMessages, injectIntl } from 'react-intl'; | 3 | import { defineMessages, injectIntl } from 'react-intl'; |
4 | 4 | ||
5 | import { RouterStore } from 'mobx-react-router'; | 5 | import { RouterStore } from 'mobx-react-router'; |
6 | import { StoresProps } from 'src/@types/ferdium-components.types'; | 6 | import { StoresProps } from '../../@types/ferdium-components.types'; |
7 | import { IRecipe } from 'src/models/Recipe'; | 7 | import { IRecipe } from '../../models/Recipe'; |
8 | import Service from 'src/models/Service'; | 8 | import Service from '../../models/Service'; |
9 | import { FormFields } from 'src/@types/mobx-form.types'; | 9 | import { FormFields } from '../../@types/mobx-form.types'; |
10 | import Form from '../../lib/Form'; | 10 | import Form from '../../lib/Form'; |
11 | 11 | ||
12 | import ServiceError from '../../components/settings/services/ServiceError'; | 12 | import ServiceError from '../../components/settings/services/ServiceError'; |
diff --git a/src/containers/settings/EditSettingsScreen.tsx b/src/containers/settings/EditSettingsScreen.tsx index 205c71107..b2604ae0e 100644 --- a/src/containers/settings/EditSettingsScreen.tsx +++ b/src/containers/settings/EditSettingsScreen.tsx | |||
@@ -3,8 +3,8 @@ import { Component, ReactElement } from 'react'; | |||
3 | import { inject, observer } from 'mobx-react'; | 3 | import { inject, observer } from 'mobx-react'; |
4 | import { defineMessages, injectIntl } from 'react-intl'; | 4 | import { defineMessages, injectIntl } from 'react-intl'; |
5 | 5 | ||
6 | import { FormFields } from 'src/@types/mobx-form.types'; | 6 | import { FormFields } from '../../@types/mobx-form.types'; |
7 | import { StoresProps } from 'src/@types/ferdium-components.types'; | 7 | import { StoresProps } from '../../@types/ferdium-components.types'; |
8 | import Form from '../../lib/Form'; | 8 | import Form from '../../lib/Form'; |
9 | import { APP_LOCALES, SPELLCHECKER_LOCALES } from '../../i18n/languages'; | 9 | import { APP_LOCALES, SPELLCHECKER_LOCALES } from '../../i18n/languages'; |
10 | import { | 10 | import { |
diff --git a/src/containers/settings/EditUserScreen.tsx b/src/containers/settings/EditUserScreen.tsx index 6ab288d6f..0d6c47da5 100644 --- a/src/containers/settings/EditUserScreen.tsx +++ b/src/containers/settings/EditUserScreen.tsx | |||
@@ -2,8 +2,8 @@ import { Component, ReactElement } from 'react'; | |||
2 | import { inject, observer } from 'mobx-react'; | 2 | import { inject, observer } from 'mobx-react'; |
3 | import { defineMessages, injectIntl } from 'react-intl'; | 3 | import { defineMessages, injectIntl } from 'react-intl'; |
4 | 4 | ||
5 | import { StoresProps } from 'src/@types/ferdium-components.types'; | 5 | import { StoresProps } from '../../@types/ferdium-components.types'; |
6 | import { FormFields } from 'src/@types/mobx-form.types'; | 6 | import { FormFields } from '../../@types/mobx-form.types'; |
7 | import Form from '../../lib/Form'; | 7 | import Form from '../../lib/Form'; |
8 | import EditUserForm from '../../components/settings/user/EditUserForm'; | 8 | import EditUserForm from '../../components/settings/user/EditUserForm'; |
9 | import ErrorBoundary from '../../components/util/ErrorBoundary'; | 9 | import ErrorBoundary from '../../components/util/ErrorBoundary'; |
diff --git a/src/containers/settings/InviteScreen.tsx b/src/containers/settings/InviteScreen.tsx index ff192783c..c67b892bd 100644 --- a/src/containers/settings/InviteScreen.tsx +++ b/src/containers/settings/InviteScreen.tsx | |||
@@ -1,7 +1,7 @@ | |||
1 | import { Component, ReactNode } from 'react'; | 1 | import { Component, ReactNode } from 'react'; |
2 | import { inject, observer } from 'mobx-react'; | 2 | import { inject, observer } from 'mobx-react'; |
3 | 3 | ||
4 | import { StoresProps } from 'src/@types/ferdium-components.types'; | 4 | import { StoresProps } from '../../@types/ferdium-components.types'; |
5 | import Invite from '../../components/auth/Invite'; | 5 | import Invite from '../../components/auth/Invite'; |
6 | import ErrorBoundary from '../../components/util/ErrorBoundary'; | 6 | import ErrorBoundary from '../../components/util/ErrorBoundary'; |
7 | 7 | ||
diff --git a/src/containers/settings/RecipesScreen.tsx b/src/containers/settings/RecipesScreen.tsx index c50ff246e..bc7fa9ba0 100644 --- a/src/containers/settings/RecipesScreen.tsx +++ b/src/containers/settings/RecipesScreen.tsx | |||
@@ -3,8 +3,8 @@ import { Component, ReactElement } from 'react'; | |||
3 | import { autorun, IReactionDisposer } from 'mobx'; | 3 | import { autorun, IReactionDisposer } from 'mobx'; |
4 | import { inject, observer } from 'mobx-react'; | 4 | import { inject, observer } from 'mobx-react'; |
5 | 5 | ||
6 | import { StoresProps } from 'src/@types/ferdium-components.types'; | 6 | import Recipe from '../../models/Recipe'; |
7 | import Recipe from 'src/models/Recipe'; | 7 | import { StoresProps } from '../../@types/ferdium-components.types'; |
8 | import RecipesDashboard from '../../components/settings/recipes/RecipesDashboard'; | 8 | import RecipesDashboard from '../../components/settings/recipes/RecipesDashboard'; |
9 | import ErrorBoundary from '../../components/util/ErrorBoundary'; | 9 | import ErrorBoundary from '../../components/util/ErrorBoundary'; |
10 | import { CUSTOM_WEBSITE_RECIPE_ID, FRANZ_DEV_DOCS } from '../../config'; | 10 | import { CUSTOM_WEBSITE_RECIPE_ID, FRANZ_DEV_DOCS } from '../../config'; |
diff --git a/src/containers/settings/ServicesScreen.tsx b/src/containers/settings/ServicesScreen.tsx index 615747382..affe965e9 100644 --- a/src/containers/settings/ServicesScreen.tsx +++ b/src/containers/settings/ServicesScreen.tsx | |||
@@ -1,7 +1,7 @@ | |||
1 | import { Component, ReactElement } from 'react'; | 1 | import { Component, ReactElement } from 'react'; |
2 | import { inject, observer } from 'mobx-react'; | 2 | import { inject, observer } from 'mobx-react'; |
3 | 3 | ||
4 | import { StoresProps } from 'src/@types/ferdium-components.types'; | 4 | import { StoresProps } from '../../@types/ferdium-components.types'; |
5 | import ServicesDashboard from '../../components/settings/services/ServicesDashboard'; | 5 | import ServicesDashboard from '../../components/settings/services/ServicesDashboard'; |
6 | import ErrorBoundary from '../../components/util/ErrorBoundary'; | 6 | import ErrorBoundary from '../../components/util/ErrorBoundary'; |
7 | 7 | ||
diff --git a/src/containers/settings/SettingsWindow.tsx b/src/containers/settings/SettingsWindow.tsx index fb1e2fd2d..2192a6f69 100644 --- a/src/containers/settings/SettingsWindow.tsx +++ b/src/containers/settings/SettingsWindow.tsx | |||
@@ -2,8 +2,7 @@ import { Component, ReactNode, ReactPortal } from 'react'; | |||
2 | import ReactDOM from 'react-dom'; | 2 | import ReactDOM from 'react-dom'; |
3 | import { observer, inject } from 'mobx-react'; | 3 | import { observer, inject } from 'mobx-react'; |
4 | 4 | ||
5 | import { StoresProps } from 'src/@types/ferdium-components.types'; | 5 | import { StoresProps } from '../../@types/ferdium-components.types'; |
6 | |||
7 | import Layout from '../../components/settings/SettingsLayout'; | 6 | import Layout from '../../components/settings/SettingsLayout'; |
8 | import Navigation from '../../components/settings/navigation/SettingsNavigation'; | 7 | import Navigation from '../../components/settings/navigation/SettingsNavigation'; |
9 | import ErrorBoundary from '../../components/util/ErrorBoundary'; | 8 | import ErrorBoundary from '../../components/util/ErrorBoundary'; |
diff --git a/src/containers/settings/TeamScreen.tsx b/src/containers/settings/TeamScreen.tsx index 5e5223f67..9d155f01c 100644 --- a/src/containers/settings/TeamScreen.tsx +++ b/src/containers/settings/TeamScreen.tsx | |||
@@ -1,7 +1,7 @@ | |||
1 | import { Component, ReactElement } from 'react'; | 1 | import { Component, ReactElement } from 'react'; |
2 | import { inject, observer } from 'mobx-react'; | 2 | import { inject, observer } from 'mobx-react'; |
3 | 3 | ||
4 | import { StoresProps } from 'src/@types/ferdium-components.types'; | 4 | import { StoresProps } from '../../@types/ferdium-components.types'; |
5 | 5 | ||
6 | import TeamDashboard from '../../components/settings/team/TeamDashboard'; | 6 | import TeamDashboard from '../../components/settings/team/TeamDashboard'; |
7 | import ErrorBoundary from '../../components/util/ErrorBoundary'; | 7 | import ErrorBoundary from '../../components/util/ErrorBoundary'; |