ktmud commented on a change in pull request #12772: URL: https://github.com/apache/superset/pull/12772#discussion_r564985274
########## File path: superset-frontend/src/SqlLab/components/SqlEditor.jsx ########## @@ -154,6 +154,18 @@ const defaultProps = { scheduleQueryWarning: null, }; +// Detects the user's OS through the browser +export function detectOS() { Review comment: Sorry for jumping in, but why arrow function? I don't remember we are enforcing this style. IMO `function` reads cleaner, especially when used in exports. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org