rusackas commented on a change in pull request #14318:
URL: https://github.com/apache/superset/pull/14318#discussion_r619551383
##########
File path: superset-frontend/src/views/CRUD/alert/components/AlertStatusIcon.tsx
##########
@@ -16,34 +16,31 @@
* specific language governing permissions and limitations
* under the License.
*/
-import { styled, t } from '@superset-ui/core';
+import { t, supersetTheme } from '@superset-ui/core';
Review comment:
let's try not to use the supersetTheme directly, but get our variables
via the ThemeProvider. You can use `withTheme` (HOC) or `useTheme` (hook) in
most cases.
--
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]