FACG6 / books-autocomplete

https://books-a.herokuapp.com/
0 stars 0 forks source link

Require same module twice #26

Open ali-7 opened 5 years ago

ali-7 commented 5 years ago

https://github.com/FACG6/books-autocomplete/blob/05b6575b147d1e64971601b3af76ce41af0dd6c2/src/router.js#L1-L8

https://github.com/FACG6/books-autocomplete/blob/05b6575b147d1e64971601b3af76ce41af0dd6c2/src/router.js#L7

you already used object destructuring, why you require the same object again?