From 47979647676d72bdc2ac47c7e645b2da46707bd7 Mon Sep 17 00:00:00 2001 From: Melvin Valster Date: Mon, 29 Jul 2019 21:13:32 +0200 Subject: [PATCH] Fix bug with going Home --- src/containers/Home.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/Home.tsx b/src/containers/Home.tsx index 882d5b5..77de22d 100644 --- a/src/containers/Home.tsx +++ b/src/containers/Home.tsx @@ -47,7 +47,7 @@ export class Home extends React.PureComponent { if (!this.props.points.equals(decoded)) { this.props.setPoints(decoded) } - } else if (prevProps.points !== this.props.points) { + } else if (prevProps.points !== this.props.points && this.props.classId) { // Points map changed, update the URL this.updateURL(this.props.points) }