mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-02 02:31:41 +03:00
removed some comments
This commit is contained in:
parent
7f91293a39
commit
76214249ea
@ -115,7 +115,6 @@ export const InsertLinkModal = forwardRef(
|
||||
onPress={() => {
|
||||
setSelectedUrlType(item.id);
|
||||
if (item.id === 0) {
|
||||
urlInputRef.current?.blur();
|
||||
labelInputRef.current?.focus();
|
||||
} else {
|
||||
labelInputRef.current?.blur();
|
||||
@ -142,7 +141,6 @@ export const InsertLinkModal = forwardRef(
|
||||
placeholderTextColor="#c1c5c7"
|
||||
autoCapitalize="none"
|
||||
innerRef={labelInputRef}
|
||||
autoFocus
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
@ -4,7 +4,6 @@ export const writeUrlTextHere = 'https://example.com';
|
||||
export const writeTextHereString = 'Text here';
|
||||
|
||||
export default async ({ text, selection, setTextAndSelection, item, isImage = null }) => {
|
||||
console.log('text, selection, item, isImage : ', text, selection, item, isImage);
|
||||
const imagePrefix = isImage ? '!' : '';
|
||||
const itemText = item ? item.text : writeTextHereString;
|
||||
const itemUrl = item ? item.url : writeUrlTextHere;
|
||||
@ -53,6 +52,5 @@ export default async ({ text, selection, setTextAndSelection, item, isImage = nu
|
||||
}
|
||||
}
|
||||
|
||||
console.log('newText for image : ', newText);
|
||||
setTextAndSelection({ text: newText, selection: newSelection });
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user