Skip to content

Commit

Permalink
refactor: remove unnecessary ids
Browse files Browse the repository at this point in the history
  • Loading branch information
diegopf committed May 6, 2024
1 parent ca78b79 commit cf5ff53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<template>
<MainScroll>
<ul id="rootScroll" class="list" data-test="scroll">
<ul class="list" data-test="scroll">
<MainScrollItem v-for="item in items" :key="item.id" class="item" tag="article" :item="item">
{{ item.id }}
</MainScrollItem>
Expand Down
2 changes: 1 addition & 1 deletion packages/x-components/tests/unit/main-scroll.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function renderMainScroll({
template = `
<MainScroll v-bind="{ threshold, margin, useWindow }"
class="root-scroll">
<div id="rootScroll" class="container" ${!useWindow ? `data-test="scroll"` : ''}>
<div class="container" ${!useWindow ? `data-test="scroll"` : ''}>
<MainScrollItem
v-for="item in items"
class="item"
Expand Down

0 comments on commit cf5ff53

Please sign in to comment.