DEV Community

Discussion on: Add the new Google Sign In to your React app!

Collapse
 
dheerajy profile image
Dheeraj Yalamanchili

making the clickHandler function optional and not specifying a value for it fixes this problem for me.

{
  clickHandler?: Function<{ successful: boolean; error: string }>
}
Enter fullscreen mode Exit fullscreen mode