Skip to content

Commit

Permalink
Remove unused trans() function and update menu items to use string ke…
Browse files Browse the repository at this point in the history
…ys directly
  • Loading branch information
abdessamadbettal committed Dec 5, 2024
1 parent caf9143 commit a0370c2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions resources/js/Layouts/GeneralLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import Header from '@/Components/Layout/Header.vue';
import Footer from '@/Components/Layout/Footer.vue';
import { ref } from 'vue';
import { trans } from 'laravel-vue-i18n';
defineProps({
canLogin: {
Expand All @@ -22,9 +21,9 @@ defineProps({
});
const menuItems = ref([
{ label: trans('home.features'), link: "#features" },
{ label: trans('home.blogs'), link: "#blogs" },
{ label: trans('home.documentation'), link: "#documentation" },
{ label: 'home.features', link: "#features" },
{ label: 'home.blogs', link: "#blogs" },
{ label: 'home.documentation', link: "#documentation" },
]);
</script>
Expand Down

0 comments on commit a0370c2

Please sign in to comment.