Skip to content
This repository was archived by the owner on Dec 10, 2023. It is now read-only.
This repository was archived by the owner on Dec 10, 2023. It is now read-only.

Change layout of fetch functions #185

@GammaMicrowave

Description

@GammaMicrowave
  • Create a API folder in the route directory

  • abstract all the fetching functions into this API folder where each folder represent a route.

  • if it is nested inside a route then add the fetching function inside a folder.

  • Now use that function and fetch queries using useQuery instead of normal fetch functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions