Show toast when enabling auto-approve on non-settings UI
This commit is contained in:
@@ -323,7 +323,9 @@ function ChatInputActions({
|
||||
}: ChatInputActionsProps) {
|
||||
const [autoApprove, setAutoApprove] = useState(false);
|
||||
const [isDetailsVisible, setIsDetailsVisible] = useState(false);
|
||||
|
||||
if (proposal.type === "tip-proposal") {
|
||||
return <div>Tip proposal</div>;
|
||||
}
|
||||
if (proposal.type === "action-proposal") {
|
||||
return <ActionProposalActions proposal={proposal}></ActionProposalActions>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user