mirror of
https://github.com/voltbonn/profile-picture-generator.git
synced 2024-12-22 07:45:04 +00:00
removed foreground frome callback dependecy
This commit is contained in:
parent
7aee89b586
commit
d9f131e163
1 changed files with 1 additions and 4 deletions
|
@ -83,10 +83,7 @@ function Editor({ onChange, background, backgroundRatio, foreground }) {
|
|||
setPhotoWidth(new_photoWidth)
|
||||
setPhotoHeight(new_photoHeight)
|
||||
}
|
||||
}, [
|
||||
backgroundRatio,
|
||||
foreground,
|
||||
])
|
||||
}, [backgroundRatio])
|
||||
|
||||
useEffect(() => {
|
||||
const {
|
||||
|
|
Loading…
Reference in a new issue