Fix export

pull/2529/head
Jérémy Rialland 2023-03-02 15:30:34 +01:00 committed by Johan Girod
parent 7b476046a6
commit ef46092b1e
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,7 @@ type Notification = {
sévérité: 'avertissement' | 'information'
}
export function getNotifications(engine: Engine) {
function getNotifications(engine: Engine) {
return Object.values(engine.getParsedRules())
.filter(
(rule) =>
@ -40,6 +40,7 @@ export function getNotifications(engine: Engine) {
description,
}))
}
export default function Notifications() {
const { t } = useTranslation()
const engine = useEngine()