1
0
Fork 0
mirror of https://github.com/voltbonn/profile-picture-generator.git synced 2024-12-22 15:55:08 +00:00

BUGFIX added missing useCallback dependency

This commit is contained in:
thomasrosen 2021-04-21 01:40:26 +02:00
parent 2d1d1011db
commit 16d47b75d7

View file

@ -90,7 +90,7 @@ function UmamiLink({ href, name, target, children, ...props }) {
// Prevent normal href-follow // Prevent normal href-follow
event.preventDefault() event.preventDefault()
return false return false
}, [href, name]) }, [href, name, target])
return <a return <a
{...props} {...props}