mirror of
https://github.com/walkxcode/dashboard-icons.git
synced 2025-10-27 05:29:03 +08:00
refactor(ui): update LoginModal usage
This commit is contained in:
@@ -69,7 +69,7 @@ export default function SubmitPage() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{showLoginModal && <LoginModal onClose={() => setShowLoginModal(false)} />}
|
||||
<LoginModal open={showLoginModal} onOpenChange={setShowLoginModal} />
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user