Update view.jsx
This commit is contained in:
parent
1149d76cd5
commit
3d51c9e5e2
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ type Props = {
|
|||
export default function Tag(props: Props) {
|
||||
const { name, onClick, type = 'link', disabled = false } = props;
|
||||
const isMature = MATURE_TAGS.includes(name);
|
||||
const clickProps = onClick ? { onClick } : { navigate: encodeURIComponent(`/$/tags?t=${name}`) };
|
||||
const clickProps = onClick ? { onClick } : { navigate: `/$/tags?t=${encodeURIComponent(name)}` };
|
||||
|
||||
let title;
|
||||
if (!onClick) {
|
||||
|
|
Loading…
Reference in a new issue