Open papsavas opened 6 months ago
i would suggest such feature is accompanied by the deletion of hooks/index.ts
since it's one more file to maintain when adding new hooks. Instead each hook will be imported as:
import { useDepartments } from "@hooks/useDepartments"
Problem
Many imports are relative which leads to the following code:
Solution
Path aliases allow you to specify certain path areas for cleaner imports