mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-05-22 16:24:47 +07:00
fixed typescript errors
This commit is contained in:
parent
9a7a038032
commit
fe311e7839
41 changed files with 786 additions and 777 deletions
|
@ -40,7 +40,7 @@ export const RouteRowView = ({
|
|||
is_admin,
|
||||
is_published,
|
||||
toggleStarred
|
||||
}: Props): ReactElement<Props, null> => (
|
||||
}: Props): ReactElement<Props> => (
|
||||
<div className={classnames("route-row-view", { has_menu: tab === "my" })}>
|
||||
{(tab === TABS.PENDING || tab === TABS.STARRED) && is_admin && (
|
||||
<div className="route-row-fav" onClick={toggleStarred.bind(null, address)}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue