Skip to content

Commit

Permalink
Remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbyul-here committed Sep 23, 2024
1 parent a19310b commit 94cc61d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/scripts/components/common/browse-controls/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ interface DropdownOptionsProps {
function DropdownOptions(props: DropdownOptionsProps) {
const { size, items, currentId, onChange, prefix } = props;
const currentItem = items.find((d) => d.id === currentId);

return (
<DropdownScrollable
alignment='left'
Expand Down
4 changes: 2 additions & 2 deletions app/scripts/components/common/catalog/catalog-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ function CatalogContent({
return { id: selectedId, values: parentDataSourceValues, sourceExclusive: exclusiveSource?.toLowerCase() ?? '' };
});
};

const exclusiveSource = currentDataset.sourceExclusive?.toLowerCase();
const sources = getTaxonomy(currentDataset, TAXONOMY_SOURCE)?.values;
const sourceIds = sources?.map(source => source.id);
Expand All @@ -176,7 +176,7 @@ function CatalogContent({
}

const relevantIdsBasedOnExclusion = filterRelevantIdsBasedOnExclusion(selectedIdsWithParentData, exclusiveSource && sourceIds?.includes(exclusiveSource));

if (exclusiveSource && sourceIds?.includes(exclusiveSource)) {
setExclusiveSourceSelected(exclusiveSource);
} else {
Expand Down

0 comments on commit 94cc61d

Please sign in to comment.