r/reactjs •

Beginner's Thread / Easy Questions (May 2020)

[deleted] — view deleted post

0 Upvotes

401 comments sorted by

View all comments

Show parent comment

0

u/[deleted] May 08 '20

[deleted] — view deleted comment

1

u/Jorick_DC May 09 '20

Hi Charles,

First of al sorry I gave such a vague description of my problem. Second i was able to solve it I didn't export the function as default function but I imported the function as a default function which is why no api calls were made. When i imported the function as { doSignOut } evrything worked as expected.