Skip to content

Commit

Permalink
code linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sharath-1517 committed Dec 19, 2024
1 parent 32e976e commit bf7373f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions mathesar_ui/src/component-library/select/Select.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<script lang="ts">
import Truncate from '../truncate/Truncate.svelte';
import { createEventDispatcher } from 'svelte';
Expand All @@ -13,6 +12,7 @@
} from '@mathesar-component-library-dir/list-box';
import StringOrComponent from '../string-or-component/StringOrComponent.svelte';
import Truncate from '../truncate/Truncate.svelte';
import type { SelectProps } from './SelectTypes';
Expand Down Expand Up @@ -174,9 +174,9 @@
{:else if $$slots.default}
<slot option={value} label={getLabel(value)} />
{:else}
<Truncate >
<StringOrComponent arg={getLabel(value)} />
</Truncate>
<Truncate>
<StringOrComponent arg={getLabel(value)} />
</Truncate>
{/if}
</svelte:fragment>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,4 @@
.no-match {
text-decoration: line-through;
}
</style>
</style>

0 comments on commit bf7373f

Please sign in to comment.