Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nmanu1 committed Oct 28, 2021
1 parent 4ef441e commit 0c39c04
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions sample-app/src/components/ScreenReader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@ export default function ScreenReader({
}

function removeAutocompleteCountText() {
if (hasCount) {
if (countRef.current.innerText !== '') {
countRef.current.innerText = '';
}
if (hasCount && countRef.current.innerText !== '') {
countRef.current.innerText = '';
}
}

Expand Down Expand Up @@ -68,4 +66,4 @@ export default function ScreenReader({
}
</>
);
};
};
2 changes: 1 addition & 1 deletion sample-app/src/sass/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@

.result-description {
padding-left: 2em;
}
}
2 changes: 1 addition & 1 deletion sample-app/src/sass/ScreenReader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
clip: rect(0,0,0,0);
border: 0;
}
}
}

0 comments on commit 0c39c04

Please sign in to comment.