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) }