mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-24 18:25:41 +03:00
Fix onClick not a function
This commit is contained in:
parent
a9538e6cf0
commit
f6e3c979af
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ video = Video clip
|
|||
audio = Audio track
|
||||
*/
|
||||
|
||||
function Media({ media, showOriginal, onClick }) {
|
||||
function Media({ media, showOriginal, onClick = () => {} }) {
|
||||
const { blurhash, description, meta, previewUrl, remoteUrl, url, type } =
|
||||
media;
|
||||
const { original, small, focus } = meta || {};
|
||||
|
|
Loading…
Reference in a new issue