mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-27 08:48:46 +00:00
Add version mcmeta diff page (#428)
* Add version mcmeta diff page * Add toggle for word wrapping * Fix diff view on mobile * Use full layout width on version details * Show image and audio diffs * Add word_wrap locale
This commit is contained in:
@@ -32,7 +32,7 @@ export function useSearchParam(param: string): [string | undefined, (value: stri
|
||||
} else {
|
||||
params.set(param, newValue)
|
||||
}
|
||||
changeUrl({ search: params.toString().replaceAll('%7C', '|'), replace })
|
||||
changeUrl({ search: params.toString().replaceAll('%7C', '|').replaceAll('%2F', '/'), replace })
|
||||
}
|
||||
}, [value])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user