Clicking on 'Set object' of appearance prop on Auth storybook throw exception
on line number 117 appearance?.theme[theme] should be fixed to appearance?.theme?.[theme]
To Reproduce
Go to default Auth story
Click on 'Set object' of appearance prop on controls tab
See error
Expected behavior
Error should not be thrown when clicking on 'Set object' of appearance
Screenshots
System information
OS: macOS
Browser: chrome
Version of supabase-js: 2.0.0-rc.7
Version of Node.js: v16.18.1
Bug report
Clicking on 'Set object' of appearance prop on Auth storybook throw exception on line number 117
appearance?.theme[theme]
should be fixed toappearance?.theme?.[theme]
To Reproduce
Expected behavior
Error should not be thrown when clicking on 'Set object' of appearance
Screenshots
System information
OS: macOS Browser: chrome Version of supabase-js: 2.0.0-rc.7 Version of Node.js: v16.18.1