Skip to content

Commit

Permalink
refactor(app): Remove unused n-message-provider
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed Nov 7, 2023
1 parent fe0d411 commit aaf9e36
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions app.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template>
<NaiveConfig :theme-config="themeConfig">

<ClientOnly>
<n-notification-provider placement="bottom-right">
<NotificationNetwork />
Expand All @@ -9,23 +8,20 @@

<NuxtLoadingIndicator :color="themeConfig.light?.common?.primaryColor" />
<n-message-provider>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</n-message-provider>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</NaiveConfig>
</template>
<script setup lang="ts">
import type { ThemeConfig } from "@bg-dev/nuxt-naiveui"
import type { ThemeConfig } from "@bg-dev/nuxt-naiveui";
const themeConfig = ref<ThemeConfig>({
shared: {
common: {
fontFamily: "Rubik",
borderRadius: "6px"
borderRadius: "6px",
},
},
Expand All @@ -37,8 +33,8 @@ const themeConfig = ref<ThemeConfig>({
borderColor: "#d1d5db", //gray[300]
},
Card: {
borderColor: "#d1d5db" //gray[300]
}
borderColor: "#d1d5db", //gray[300]
},
},
dark: {
Expand All @@ -49,8 +45,8 @@ const themeConfig = ref<ThemeConfig>({
borderColor: "#1f2937", //gray[800]
},
Card: {
borderColor: "#1f2937" //gray[800]
}
borderColor: "#1f2937", //gray[800]
},
},
})
});
</script>

0 comments on commit aaf9e36

Please sign in to comment.