mirror of
https://github.com/SigNoz/signoz.git
synced 2026-06-08 18:10:27 +01:00
refactor(alert-history): migrate to css modules
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
.alert-history {
|
||||
.alertHistory {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
gap: var(--spacing-10);
|
||||
}
|
||||
@@ -3,13 +3,13 @@ import { useState } from 'react';
|
||||
import Statistics from './Statistics/Statistics';
|
||||
import Timeline from './Timeline/Timeline';
|
||||
|
||||
import './AlertHistory.styles.scss';
|
||||
import styles from './AlertHistory.module.scss';
|
||||
|
||||
function AlertHistory(): JSX.Element {
|
||||
const [totalCurrentTriggers, setTotalCurrentTriggers] = useState(0);
|
||||
|
||||
return (
|
||||
<div className="alert-history">
|
||||
<div className={styles.alertHistory}>
|
||||
<Statistics
|
||||
totalCurrentTriggers={totalCurrentTriggers}
|
||||
setTotalCurrentTriggers={setTotalCurrentTriggers}
|
||||
|
||||
Reference in New Issue
Block a user