Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
webfansplz committed Dec 21, 2023
1 parent a7b68d7 commit 5e0355f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/client/src/pages/components.vue
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ watchDebounced(filterName, (v) => {
})
}, { debounce: 300 })
const state = useDevToolsState()
const devtoolsState = useDevToolsState()
</script>

<template>
Expand All @@ -212,7 +212,7 @@ const state = useDevToolsState()
<Pane flex flex-col border="r base">
<div w-full flex gap2 px2 py2>
<VueInput v-if="loaded" v-model="filterName" :loading-debounce-time="250" :loading="!filtered" placeholder="Find components..." flex-1 />
<button v-if="state.vitePluginDetected.value" px-1 @click="inspectComponentInspector">
<button v-if="devtoolsState.vitePluginDetected.value" px-1 @click="inspectComponentInspector">
<svg
xmlns="http://www.w3.org/2000/svg"
style="height: 1.1em; width: 1.1em; opacity:0.5;"
Expand Down Expand Up @@ -242,7 +242,7 @@ const state = useDevToolsState()
/>

<VueIcon
v-if="selectedComponentFilePath && state.vitePluginDetected.value"
v-if="selectedComponentFilePath && devtoolsState.vitePluginDetected.value"
v-tooltip="'Open in Editor'"
title="Open in Editor"
icon="i-carbon-launch"
Expand Down

0 comments on commit 5e0355f

Please sign in to comment.