Skip to content

Commit 549fe27

Browse files
committed
lint
1 parent 334d521 commit 549fe27

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

src/components/markdownEditor/children/editorToolbar.tsx

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ type Props = {
3030
paramFiles: any[];
3131
isEditing: boolean;
3232
isPreviewActive: boolean;
33-
isEditMode: boolean
33+
isEditMode: boolean;
3434
setIsUploading: (isUploading: boolean) => void;
3535
handleMediaInsert: (data: MediaInsertData[]) => void;
3636
handleOnAddLinkPress: () => void;
@@ -286,20 +286,16 @@ export const EditorToolbar = ({
286286
name="text-short"
287287
/>
288288

289-
{
290-
!isEditMode && (
291-
<IconButton
292-
size={18}
293-
style={[styles.rightIcons, !!pollDraft?.title && styles.iconBottomBar]}
294-
iconStyle={styles.icon}
295-
iconType="SimpleLineIcons"
296-
name="chart"
297-
onPress={_showPollsExtension}
298-
/>
299-
)
300-
301-
}
302-
289+
{!isEditMode && (
290+
<IconButton
291+
size={18}
292+
style={[styles.rightIcons, !!pollDraft?.title && styles.iconBottomBar]}
293+
iconStyle={styles.icon}
294+
iconType="SimpleLineIcons"
295+
name="chart"
296+
onPress={_showPollsExtension}
297+
/>
298+
)}
303299

304300
<IconButton
305301
onPress={_showImageUploads}

src/screens/editor/container/editorContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ class EditorContainer extends Component<EditorContainerProps, any> {
962962
thumbUrl,
963963
fetchRatios: true,
964964
postType: jsonMetadata.type,
965-
contentType: jsonMetadata.content_type
965+
contentType: jsonMetadata.content_type,
966966
});
967967

968968
let jsonMeta = {};

0 commit comments

Comments
 (0)