chat sessions in project view
This commit is contained in:
@@ -6,7 +6,7 @@ export default function ProjectModal({ project, mode, onSave, onDelete, onClose
|
|||||||
const [name, setName] = useState(project?.name ?? '');
|
const [name, setName] = useState(project?.name ?? '');
|
||||||
const [description, setDescription] = useState(project?.description ?? '');
|
const [description, setDescription] = useState(project?.description ?? '');
|
||||||
const [colour, setColour] = useState(project?.colour ?? COLOURS[0]);
|
const [colour, setColour] = useState(project?.colour ?? COLOURS[0]);
|
||||||
const [projectOnly, setProjectOnly] = useState(project?.projectOnly === 1 ?? false);
|
const [projectOnly, setProjectOnly] = useState(project?.projectOnly === 1);
|
||||||
const inputRef = useRef(null);
|
const inputRef = useRef(null);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user