diff options
author | crupest <crupest@outlook.com> | 2020-10-27 18:46:34 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-10-27 18:46:34 +0800 |
commit | 783cd4eb57d287d72c7752bb35fc5f9f5e42dfb6 (patch) | |
tree | 2f320f530130fc1cf43854a7e48ffea782a62e7d /Timeline/ClientApp/src | |
parent | 0c4caaebe2480e77918d5d7df234f0edaeab74ba (diff) | |
download | timeline-783cd4eb57d287d72c7752bb35fc5f9f5e42dfb6.tar.gz timeline-783cd4eb57d287d72c7752bb35fc5f9f5e42dfb6.tar.bz2 timeline-783cd4eb57d287d72c7752bb35fc5f9f5e42dfb6.zip |
build(front): Upgrade packages.
Diffstat (limited to 'Timeline/ClientApp/src')
-rw-r--r-- | Timeline/ClientApp/src/app/views/login/index.tsx | 2 | ||||
-rw-r--r-- | Timeline/ClientApp/src/app/views/timeline-common/TimelineItem.tsx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Timeline/ClientApp/src/app/views/login/index.tsx b/Timeline/ClientApp/src/app/views/login/index.tsx index 265c2172..61b9a525 100644 --- a/Timeline/ClientApp/src/app/views/login/index.tsx +++ b/Timeline/ClientApp/src/app/views/login/index.tsx @@ -124,7 +124,7 @@ const LoginPage: React.FC = (_) => { type="checkbox" checked={rememberMe} onChange={(e) => { - setRememberMe(e.target.checked); + setRememberMe(e.currentTarget.checked); }} label={t("user.rememberMe")} /> diff --git a/Timeline/ClientApp/src/app/views/timeline-common/TimelineItem.tsx b/Timeline/ClientApp/src/app/views/timeline-common/TimelineItem.tsx index 327b6833..4db23371 100644 --- a/Timeline/ClientApp/src/app/views/timeline-common/TimelineItem.tsx +++ b/Timeline/ClientApp/src/app/views/timeline-common/TimelineItem.tsx @@ -105,7 +105,7 @@ const TimelineItem: React.FC<TimelineItemProps> = (props) => { <Svg src={chevronDownIcon} className="text-info icon-button" - onClick={(e: Event) => { + onClick={(e) => { more.toggle(); e.stopPropagation(); }} @@ -148,7 +148,7 @@ const TimelineItem: React.FC<TimelineItemProps> = (props) => { <Svg src={trashIcon} className="text-danger icon-button large" - onClick={(e: Event) => { + onClick={(e) => { toggleDeleteDialog(); e.stopPropagation(); }} |