frontend: table addition elements refactor

This commit is contained in:
tylen
2025-11-02 21:45:12 +02:00
parent c39384badf
commit 27ee5d59c3
3 changed files with 46 additions and 55 deletions

View File

@@ -2,7 +2,7 @@
import React, { createContext, useContext, useState } from 'react';
type NotificationType = 'success' | 'error';
export type NotificationType = 'success' | 'error';
interface NotificationContextType {
notify: (message: string, type: NotificationType) => void;