From a06236e3ff52c64652f213c54bc16355ac7417c9 Mon Sep 17 00:00:00 2001 From: Trevor Buckner Date: Wed, 23 May 2018 08:53:30 -0400 Subject: [PATCH] Fix regression with updated Pico-Router This variable name changed with the v2.0.0 of Pico-Router and it wasn't changed here. This was causing every page to display a `
` rather than the appropriate `editPage` or `sharePage`. It just wasn't immediately noticeable since `homePage` and `editPage` are almost identical. The problem is clearly visible on `sharePage` however. `homebrew.jsx` was set to always render a defaultUrl of ` ` which creates a `
` by default, overwriting the expected `
` on for the current url. --- client/homebrew/homebrew.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/homebrew/homebrew.jsx b/client/homebrew/homebrew.jsx index 1eac511f4..5239dcb08 100644 --- a/client/homebrew/homebrew.jsx +++ b/client/homebrew/homebrew.jsx @@ -82,7 +82,7 @@ const Homebrew = createClass({ }, render : function(){ return
- +
; } });