Skip to content

Commit 3b9c5fc

Browse files
committed
fix: correct import order and remove duplicate style imports in admin and chat applications
1 parent 585abc4 commit 3b9c5fc

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="vite/client" />
22
declare module '*.vue' {
3-
import type { DefineComponent } from 'vue';
3+
import type { DefineComponent } from 'vue';
44
const component: DefineComponent<object, object, unknown>;
55
export default component;
6-
}
6+
}

services/frontend/apps/admin-app/src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<script lang="ts" setup>
2-
import { RouterView } from "vue-router";
2+
import { ArrowTopRightOnSquareIcon } from "@heroicons/vue/24/outline";
33
import { NavigationContainer } from "@shared/ui";
44
import { useI18n } from "vue-i18n";
5-
import { ArrowTopRightOnSquareIcon } from "@heroicons/vue/24/outline";
5+
import { RouterView } from "vue-router";
66
77
const { t } = useI18n();
88
const chatURL = import.meta.env.VITE_CHAT_URL;

services/frontend/apps/admin-app/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { i18n } from '@i18n/admin';
2+
import '@shared/style';
23
import { createPinia } from 'pinia';
34
import { createApp } from 'vue';
45
import { createRouter, createWebHistory } from 'vue-router';
56
import App from './App.vue';
67
import { routes } from './routes';
7-
import '@shared/style';
88

99
export async function setupApp() {
1010
const router = createRouter({

services/frontend/apps/chat-app/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { i18n } from '@i18n/chat';
2+
import '@shared/style';
23
import '@shared/ui';
34
import { initializeMarkdown } from "@shared/utils";
45
import { createPinia } from 'pinia';
56
import { createApp } from 'vue';
67
import { createRouter, createWebHistory } from 'vue-router';
78
import App from './App.vue';
89
import { routes } from './routes';
9-
import '@shared/style';
1010

1111
export async function setupApp() {
1212
const router = createRouter({

0 commit comments

Comments
 (0)