Skip to content

Commit

Permalink
Rename comp to headerComponent
Browse files Browse the repository at this point in the history
Signed-off-by: Olga Bulat <[email protected]>
  • Loading branch information
obulat committed Aug 21, 2024
1 parent 1dce2ae commit 77f2a39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/VHeader/VHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ watch(height, (height) => {
uiStore.setHeaderHeight(height)
})
const comp = computed(() => {
const headerComponent = computed(() => {
return {
internal: VHeaderInternal,
"search-desktop": VHeaderDesktop,
Expand All @@ -43,7 +43,7 @@ const bg = computed(() => `bg-${props.color}`)
<div ref="headerRef" class="header-el" :class="bg">
<VBanners />
<component
:is="comp"
:is="headerComponent"
class="h-20 border-b"
:class="[showBottomBorder ? 'border-b-default' : 'border-b-tx', bg]"
/>
Expand Down

0 comments on commit 77f2a39

Please sign in to comment.