mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
fix: prevent saving prompt with same name as existing prompt
This commit is contained in:
@@ -179,6 +179,7 @@ export default function Prompts({
|
||||
</div>
|
||||
</div>
|
||||
<PromptsModal
|
||||
existingPrompts={prompts}
|
||||
type={modalType}
|
||||
modalState={modalState}
|
||||
setModalState={setModalState}
|
||||
|
||||
Reference in New Issue
Block a user