mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2024-12-04 05:41:27 +00:00
Remove unused ref
This commit is contained in:
parent
6749919437
commit
cc35ee0a42
1 changed files with 0 additions and 2 deletions
|
@ -4,7 +4,6 @@
|
||||||
v-for="(tab, index) in tabs"
|
v-for="(tab, index) in tabs"
|
||||||
:key="index"
|
:key="index"
|
||||||
class="tab"
|
class="tab"
|
||||||
:ref="`tab-${index}`"
|
|
||||||
:style="unref(layers[tab]?.style)"
|
:style="unref(layers[tab]?.style)"
|
||||||
:class="unref(layers[tab]?.classes)"
|
:class="unref(layers[tab]?.classes)"
|
||||||
>
|
>
|
||||||
|
@ -14,7 +13,6 @@
|
||||||
v-if="layerKeys.includes(tab)"
|
v-if="layerKeys.includes(tab)"
|
||||||
v-bind="gatherLayerProps(layers[tab]!)"
|
v-bind="gatherLayerProps(layers[tab]!)"
|
||||||
:index="index"
|
:index="index"
|
||||||
:tab="() => (($refs[`tab-${index}`] as HTMLElement[] | undefined)?.[0])"
|
|
||||||
/>
|
/>
|
||||||
<component :is="tab" :index="index" v-else />
|
<component :is="tab" :index="index" v-else />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue