Skip to content

Commit d854b06

Browse files
committed
cleanup
1 parent c2f5152 commit d854b06

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

resources/js/app.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ createInertiaApp({
3232
// Site light/dark mode
3333
const colorMode = useSiteColorMode({ emitAuto: true });
3434

35-
// Global Toast component, show errors instead of standard Inertia modal response
35+
// Global Toast component
3636
const Root = {
3737
setup() {
38+
// show error toast instead of standard Inertia modal response
3839
const toast = useToast();
3940
router.on('invalid', (event) => {
4041
const responseBody = event.detail.response?.data;
@@ -48,6 +49,7 @@ createInertiaApp({
4849
});
4950
}
5051
});
52+
5153
return () => h('div', [
5254
h(App, props),
5355
h(Toast, { position: 'bottom-right' })

resources/js/layouts/app/HeaderLayout.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ const toggleMobileUserMenu = (event) => {
7676
</div>
7777
</template>
7878
</Drawer>
79-
<ScrollTop :pt="{ root: { class: 'right-4 md:right-8 bottom-4 md:bottom-8' } }" />
8079
</Teleport>
8180
</ClientOnly>
8281
<div class="min-h-screen">

resources/js/layouts/app/SidebarLayout.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ const toggleMobileUserMenu = (event) => {
7474
</div>
7575
</template>
7676
</Drawer>
77-
<ScrollTop :pt="{ root: { class: 'right-4 md:right-8 bottom-4 md:bottom-8' } }" />
7877
</Teleport>
7978
</ClientOnly>
8079

0 commit comments

Comments
 (0)