Skip to content

Commit 32e048a

Browse files
committed
chore(playground): remove back arrow from app bar
1 parent f33805d commit 32e048a

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

apps/playground/src/components/playground/app/PlaygroundAppBar.vue

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
<script setup lang="ts">
2-
import { IN_BROWSER } from '#v0/constants/globals'
3-
42
// Framework
53
import { useBreakpoints, useHotkey, useStorage, useTheme } from '@vuetify/v0'
64
75
// Components
86
import { usePlayground } from './PlaygroundApp.vue'
97
10-
// Utilities
11-
import { RouterLink, useRouter } from 'vue-router'
12-
13-
const router = useRouter()
148
const theme = useTheme()
159
const playground = usePlayground()
1610
const breakpoints = useBreakpoints()
@@ -46,16 +40,11 @@
4640
playground.editor.value = !playground.editor.value
4741
}
4842
49-
const backTo = router.currentRoute.value.redirectedFrom?.fullPath
50-
?? (IN_BROWSER ? window.history.state?.back : null)
51-
?? 'https://0.vuetifyjs.com'
5243
</script>
5344

5445
<template>
5546
<header class="flex items-center justify-between h-[48px] px-3 border-b border-divider bg-surface" data-playground-bar>
5647
<div class="flex items-center gap-3">
57-
<AppIconButton aria-label="Go back" :as="RouterLink" icon="left" :to="backTo" />
58-
5948
<img
6049
alt="Vuetify Play"
6150
class="h-7"

0 commit comments

Comments
 (0)