From 8a94e0d4aa1f48d948f073f41af3149227684696 Mon Sep 17 00:00:00 2001 From: NicBonnette Date: Mon, 24 May 2021 21:28:50 +1200 Subject: [PATCH] fix ErrorBoundary render code --- lessons/error-boundaries.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lessons/error-boundaries.md b/lessons/error-boundaries.md index 92552ba..beeeb1f 100644 --- a/lessons/error-boundaries.md +++ b/lessons/error-boundaries.md @@ -86,7 +86,7 @@ componentDidUpdate() { // first thing inside render if (this.state.redirect) { return ; -} } else if (this.state.hasError) { +} else if (this.state.hasError) { … } ```