fix: remove unnecessary console.log
This commit is contained in:
4 files changed
+1
-12
No files matched your search
@@ -109,7 +109,6 @@
|
||||
if (passedCommunity) {
|
||||
data.community = passedCommunity
|
||||
communitySearch = passedCommunity.name
|
||||
console.log(communitySearch)
|
||||
} else {
|
||||
const list = await client().listCommunities({
|
||||
type_: 'All',
|
||||
@@ -169,8 +168,6 @@
|
||||
|
||||
if (!post) throw new Error('Failed to edit post')
|
||||
|
||||
console.log(`Edited post ${post?.post_view.post.id}`)
|
||||
|
||||
onsubmit?.(post.post_view)
|
||||
} else {
|
||||
const post = await client().createPost({
|
||||
@@ -186,8 +183,6 @@
|
||||
|
||||
if (!post) throw new Error('Failed to upload post')
|
||||
|
||||
console.log(`Uploaded post ${post?.post_view.post.id}`)
|
||||
|
||||
saveDraft = false
|
||||
onsubmit?.(post.post_view)
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ export const optimizeImageURL = (
|
||||
|
||||
return url.toString()
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
console.error(e)
|
||||
return urlStr
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user