How to handle this error

Module ‘"…/hooks/usePhotoGallary"’ has no exported member ‘usePhotoGallery’. Did you mean to use ‘import usePhotoGallery from “…/hooks/usePhotoGallary”’ instead?

Please solve this issue~ i am new to ionic

Please remove the Curly bracket just use

import usePhotoGallery from “…/hooks/usePhotoGallary”

It worked! thanks man

1 Like

@backbencherjigyasooj
Welcome :slight_smile: Happy Coding :slight_smile: