fixed linting

This commit is contained in:
Robert 2024-03-11 23:55:41 +07:00
parent 8e720b7fce
commit 8c80e0f38e
No known key found for this signature in database
GPG Key ID: F631C7FD957D5F22
2 changed files with 0 additions and 3 deletions

View File

@ -61,7 +61,6 @@ export default function ActionEditor({
const [loading, setLoading] = useState(false); const [loading, setLoading] = useState(false);
const [imageUrl, setImageUrl] = useState<string | null>(null); const [imageUrl, setImageUrl] = useState<string | null>(null);
console.log(imageUrl);
const [action, setAction] = useState<CommentAction>( const [action, setAction] = useState<CommentAction>(
initialAction ?? { initialAction ?? {

View File

@ -101,8 +101,6 @@ export default function ChainEditor({ chain }: ChainEditorProps) {
className="no-scrollbar flex grow flex-col items-center gap-y-24 overflow-y-scroll pb-20 pt-8" className="no-scrollbar flex grow flex-col items-center gap-y-24 overflow-y-scroll pb-20 pt-8"
> >
{chain.actions.map((action, index) => { {chain.actions.map((action, index) => {
if (action.actionType === "comment") console.log(action);
if (action.actionType === "comment") { if (action.actionType === "comment") {
const attachmentType = getActionAttachmentType(action); const attachmentType = getActionAttachmentType(action);