Skip to content

Staff Router Call/getStaff() Not Working #50

@laurenrm3

Description

@laurenrm3

Image
In src/components/PhotoInitials is the useEffect which calls getStaff() which calls the function in src/services/api

Image
This calls the router call:
Image

On the buzz website this is what is in the console

Image
which means that useEffect is being called but then there is something wrong with the router.get method because nothing is printed for that when something should if it is running at all and the next thing in the console is fetched data which is empty.

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