refactor: ♻️ Fix linter errors

This commit is contained in:
Jesse Wierzbinski 2024-06-19 14:07:56 -10:00
parent 8a984abfb2
commit f9433e259b
No known key found for this signature in database
30 changed files with 235 additions and 157 deletions

View file

@ -41,10 +41,11 @@ const calculatedWidth = computed(
const getWidth = (index: number, lines: number) => {
if (isWidthSpecified.value) {
if (isContent.value)
if (isContent.value) {
return index === lines
? `${calculatedWidth.value}${props.widthUnit}`
: "100%";
}
return `${calculatedWidth.value}${props.widthUnit}`;
}
return undefined;