+
+
+ updateGroupMutation.mutate({
+ id: groupId,
+ payload: { name: groupName, category: value },
+ })
+ }
+ />
+
+ {hasShareAccess && }
+ {editorMode === PromptsEditorMode.ADVANCED && (
+
+ )}
+
+
+
+ {editorMode === PromptsEditorMode.ADVANCED &&
+ (isLoadingPrompts
+ ? Array.from({ length: 6 }).map((_, index: number) => (
+
+
+
+ ))
+ : prompts.length > 0 && (
+
+ ))}
+
+ );
+ },
+);
+
+RightPanel.displayName = 'RightPanel';
+
const PromptForm = () => {
const params = useParams();
const localize = useLocalize();
const { user } = useAuthContext();
- const alwaysMakeProd = useRecoilValue(store.alwaysMakeProd);
const { showToast } = useToastContext();
+ const alwaysMakeProd = useRecoilValue(store.alwaysMakeProd);
const promptId = params.promptId || '';
- const [selectionIndex, setSelectionIndex] = useState