-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,32 +43,25 @@ const MapSelector = ({ idMap, type = "local" }: Props) => { | |
{ | ||
title: ( | ||
// eslint-disable-next-line jsx-a11y/anchor-is-valid | ||
<a onClick={() => navigate("/localCouncil")}> | ||
뉴웨이즈 다양성 리포트 | ||
</a> | ||
<a>뉴웨이즈 다양성 리포트</a> | ||
), | ||
onClick: () => navigate(`/localCouncil`), | ||
}, | ||
] as { title: string | JSX.Element }[] | ||
] as { title: string | JSX.Element; onClick: () => void }[] | ||
) | ||
.concat( | ||
metroName | ||
? [ | ||
{ | ||
title: ( | ||
// eslint-disable-next-line jsx-a11y/anchor-is-valid | ||
<a | ||
onClick={() => | ||
navigate(`/localCouncil/${metroName}`) | ||
} | ||
> | ||
{metroName} | ||
</a> | ||
), | ||
title: <a>{metroName}</a>, | ||
Check failure on line 56 in src/components/organisms/MapSelector.tsx GitHub Actions / Lint and Format (18.x)
|
||
onClick: () => navigate(`/localCouncil/${metroName}`), | ||
}, | ||
] | ||
: [], | ||
) | ||
.concat(localName ? [{ title: localName }] : [])} | ||
.concat( | ||
localName ? [{ title: localName, onClick: () => {} }] : [], | ||
)} | ||
/> | ||
</div> | ||
<Flex | ||
|