fixed linting
This commit is contained in:
parent
8e720b7fce
commit
8c80e0f38e
|
|
@ -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 ?? {
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user