ESLint gives the warning: `Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components.` For the **usePOIS.jsx** file. Ideally this should be split up to separate files.
ESLint gives the warning:
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components.For the usePOIS.jsx file. Ideally this should be split up to separate files.