refactor(alert-history): migrate to css modules

This commit is contained in:
Vinícius Lourenço
2026-06-08 11:46:18 -03:00
parent acc90d6058
commit 4211f8564e
2 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
.alert-history {
.alertHistory {
display: flex;
flex-direction: column;
gap: 24px;
gap: var(--spacing-10);
}

View File

@@ -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}