fix: Update PrimeReact to v10.8.3 and fix all compilation errors
This commit is contained in:
@@ -62,7 +62,6 @@ import { Image } from 'primereact/image';
|
||||
import { Carousel } from 'primereact/carousel';
|
||||
import { Terminal } from 'primereact/terminal';
|
||||
import { DeferredContent } from 'primereact/deferredcontent';
|
||||
import { InlineMessage } from 'primereact/inlinemessage';
|
||||
import { ScrollTop } from 'primereact/scrolltop';
|
||||
import { BlockUI } from 'primereact/blockui';
|
||||
import { TreeTable } from 'primereact/treetable';
|
||||
@@ -186,7 +185,7 @@ const SauvegardePage = () => {
|
||||
const overlayPanel = useRef<OverlayPanel>(null);
|
||||
const contextMenu = useRef<ContextMenu>(null);
|
||||
const terminal = useRef<Terminal>(null);
|
||||
const dt = useRef<DataTable>(null);
|
||||
const dt = useRef<DataTable<any>>(null);
|
||||
|
||||
// Configuration pour l'interface utilisateur ultra-avancée
|
||||
const frequenceOptions = [
|
||||
@@ -620,7 +619,7 @@ const SauvegardePage = () => {
|
||||
value={provider.status}
|
||||
severity={
|
||||
provider.status === 'connected' ? 'success' :
|
||||
provider.status === 'error' ? 'danger' : 'secondary'
|
||||
provider.status === 'error' ? 'danger' : 'info'
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
@@ -727,7 +726,6 @@ const SauvegardePage = () => {
|
||||
onIcon="pi pi-pause"
|
||||
offIcon="pi pi-play"
|
||||
className="ml-2"
|
||||
size="small"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -1278,4 +1276,6 @@ if (typeof document !== 'undefined') {
|
||||
const style = document.createElement('style');
|
||||
style.textContent = customStyles;
|
||||
document.head.appendChild(style);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user