on master help sign in
Fix shadowing error with SVG import
commit635dbbaba3cca4538508efa1cac74301dd70c4c9 authorEvan Czaplicki <evancz@users.noreply.github.com> dateMon 2 Apr 2018, 19:05 (9 years ago) parent088fdb6
1 file changed+2−2
ui/browser/src/Index/Icon.elm+2−2
ui/browser/src/Index/Icon.elm+2−2
@@ -21,14 +21,14 @@ import Svg.Attributes exposing (width, height, viewBox, d, fill)
2121
2222
2323icon : String -> String -> String -> Html msg
24−icon color size path =
24+icon color size pathString =
2525 svg
2626 [ class "icon"
2727 , width size
2828 , height size
2929 , viewBox "0 0 1792 1792"
3030 ]
31− [ path [ fill color, d path ] []
31+ [ path [ fill color, d pathString ] []
3232 ]
3333
3434