URILink for encoding all URIs; fixes #220; current_track now just a URI
This commit is contained in:
@ -24,7 +24,7 @@ export default class CategoryGrid extends React.Component{
|
||||
key={category.id}
|
||||
type="category"
|
||||
item={category}
|
||||
onClick={e => {hashHistory.push(global.baseURL+'discover/categories/'+category.id)}}
|
||||
onClick={e => {hashHistory.push(global.baseURL+'discover/categories/'+encodeURIComponent(category.id))}}
|
||||
/>
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user