From fded2fa8bfc52ae29848a343483c68f6955feb0c Mon Sep 17 00:00:00 2001
From: AAGaming <aa@mail.catvibers.me>
Date: Sat, 17 Sep 2022 16:02:00 -0400
Subject: fix plugin install modal

---
 frontend/src/components/modals/PluginInstallModal.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'frontend/src/components/modals/PluginInstallModal.tsx')

diff --git a/frontend/src/components/modals/PluginInstallModal.tsx b/frontend/src/components/modals/PluginInstallModal.tsx
index 2c0c0bba..5ab2ed8f 100644
--- a/frontend/src/components/modals/PluginInstallModal.tsx
+++ b/frontend/src/components/modals/PluginInstallModal.tsx
@@ -1,4 +1,4 @@
-import { ModalRoot, QuickAccessTab, Router, Spinner, staticClasses } from 'decky-frontend-lib';
+import { ConfirmModal, QuickAccessTab, Router, Spinner, staticClasses } from 'decky-frontend-lib';
 import { FC, useState } from 'react';
 
 interface PluginInstallModalProps {
@@ -14,7 +14,7 @@ interface PluginInstallModalProps {
 const PluginInstallModal: FC<PluginInstallModalProps> = ({ artifact, version, hash, onOK, onCancel, closeModal }) => {
   const [loading, setLoading] = useState<boolean>(false);
   return (
-    <ModalRoot
+    <ConfirmModal
       bOKDisabled={loading}
       closeModal={closeModal}
       onOK={async () => {
@@ -34,7 +34,7 @@ const PluginInstallModal: FC<PluginInstallModalProps> = ({ artifact, version, ha
           {!loading && '?'}
         </div>
       </div>
-    </ModalRoot>
+    </ConfirmModal>
   );
 };
 
-- 
cgit v1.2.3

