aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-05-30 16:58:39 +0800
committerGitHub <noreply@github.com>2021-05-30 16:58:39 +0800
commitdf75722b3d08e1d23532c27c197ae9f97f81bd51 (patch)
treed09ea912f3615ddeddad84f40a78381884422f40 /FrontEnd/src
parentf30213cc3ed5d5cc7cf00145580f2e00d221b165 (diff)
parentff5b4fc04bdebc110f51e27d3388c131eee85bec (diff)
downloadtimeline-df75722b3d08e1d23532c27c197ae9f97f81bd51.tar.gz
timeline-df75722b3d08e1d23532c27c197ae9f97f81bd51.tar.bz2
timeline-df75722b3d08e1d23532c27c197ae9f97f81bd51.zip
Merge pull request #574 from crupest/dependabot/npm_and_yarn/FrontEnd/typescript-4.3.2
build(deps-dev): Bump typescript from 4.2.4 to 4.3.2 in /FrontEnd
Diffstat (limited to 'FrontEnd/src')
-rw-r--r--FrontEnd/src/app/views/timeline-common/MarkdownPostEdit.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/MarkdownPostEdit.tsx b/FrontEnd/src/app/views/timeline-common/MarkdownPostEdit.tsx
index 6d0e5431..685e17be 100644
--- a/FrontEnd/src/app/views/timeline-common/MarkdownPostEdit.tsx
+++ b/FrontEnd/src/app/views/timeline-common/MarkdownPostEdit.tsx
@@ -67,7 +67,7 @@ const MarkdownPostEdit: React.FC<MarkdownPostEditProps> = ({
}, []);
React.useEffect(() => {
- window.onbeforeunload = () => {
+ window.onbeforeunload = (): unknown => {
if (!canLeave) {
return t("timeline.confirmLeave");
}