Skip to content

Commit 4b3502a

Browse files
committed
Re-order imports
1 parent c72ca2b commit 4b3502a

File tree

7 files changed

+11
-9
lines changed

7 files changed

+11
-9
lines changed

src/components/Location.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
import { computed } from 'vue';
33
import { NButton, NCollapse, NCollapseItem, NSpace } from 'naive-ui';
44
5-
import getRandomSocksProxy from '@/helpers/getRandomSocksProxy';
65
import LocationTabs from '@/components/LocationTabs.vue';
76
7+
import getRandomSocksProxy from '@/helpers/getRandomSocksProxy';
8+
89
import useListProxies from '@/composables/useListProxies';
910
import useSocksProxy from '@/composables/useSocksProxy';
1011
import useLocations from '@/composables/useLocations';

src/components/NotificationsCarousel.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
import { computed } from 'vue';
33
import { NCard, NCarousel, NIcon, NImage } from 'naive-ui';
44
5-
import { closePopup } from '@/helpers/closePopup';
6-
75
import Button from '@/components/Buttons/Button.vue';
86
import ExternalLinkIconLabel from '@/components/ExternalLinkIconLabel.vue';
97
import IconLabel from '@/components/IconLabel.vue';
108
import FeArrowLeft from '@/components/Icons/FeArrowLeft.vue';
119
import FeArrowRight from '@/components/Icons/FeArrowRight.vue';
1210
11+
import { closePopup } from '@/helpers/closePopup';
12+
1313
import useRecommendations from '@/composables/useRecommendations/useRecommendations';
1414
import useWarnings from '@/composables/useWarnings/useWarnings';
1515

src/components/PrivacyRecommendations/PrivacyRecommendation.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
import { computed, toRefs, watchEffect } from 'vue';
33
import { NAvatar, NCard } from 'naive-ui';
44
5-
import { closePopup } from '@/helpers/closePopup';
6-
75
import Button from '@/components/Buttons/Button.vue';
86
import IconLabel from '@/components/IconLabel.vue';
97
import Instructions from '@/components/PrivacyRecommendations/Instructions.vue';
108
import RecommendationIconWithTooltip from '@/components/RecommendationIconWithTooltip.vue';
119
import SplitButton from '@/components/Buttons/SplitButton.vue';
1210
11+
import { closePopup } from '@/helpers/closePopup';
12+
1313
import type { Recommendation } from '@/composables/useRecommendations/Recommendation.types';
1414
import ExternalLinkIconLabel from '@/components/ExternalLinkIconLabel.vue';
1515
import useConnection from '@/composables/useConnection';

src/composables/useStore.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { Ref } from 'vue';
22

3-
import { ProxyDetails, ProxyInfoMap, ProxyInfo, ProxyDetailsMap } from '@/helpers/socksProxy.types';
4-
import useBrowserStorageLocal from '@/composables/useBrowserStorageLocal';
53
import type { HistoryEntriesMap } from './useProxyHistory/HistoryEntries.types';
64
import { Country } from './useListProxies';
75

6+
import { ProxyDetails, ProxyInfoMap, ProxyInfo, ProxyDetailsMap } from '@/helpers/socksProxy.types';
7+
import useBrowserStorageLocal from '@/composables/useBrowserStorageLocal';
8+
89
export type Store = {
910
excludedHosts: Ref<string[]>;
1011
hostProxies: Ref<ProxyInfoMap>;

src/helpers/browserAction.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { getActiveProxyDetails } from '@/helpers/socksProxy';
21
import { ProxyDetails } from './socksProxy.types';
2+
import { getActiveProxyDetails } from '@/helpers/socksProxy';
33

44
export const initBrowserAction = () => {
55
// Each time a tab is updated, reset the browserAction for that tab

src/helpers/connCheck.ts

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ n is an optional parameter to retry the connCheck any number of time.
1111
By default, it will retry twice because after connecting/disconnecting to/from Mullvad server, the first request results in a NetworkError and the second is successful.
1212
1313
It's a workaround for the following bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1706377
14+
Workaround can be removed when Mullvad Browser 14.0 is released (the bug is fixed!).
1415
*/
1516

1617
export const connCheck = async (n = 3): Promise<Connection> => {

src/popup/views/License.vue

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script lang="ts" setup>
22
import { NCard } from 'naive-ui';
3-
43
import { closePopup } from '@/helpers/closePopup';
54
</script>
65

0 commit comments

Comments
 (0)