mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
fix typo
This commit is contained in:
parent
4a2d250854
commit
5b5fc09053
@ -50,7 +50,7 @@ const searchQuery = gql`
|
||||
|
||||
const nothingFound = { data: { findResources: [] } }
|
||||
|
||||
const addBrAfterNewlinw = array => {
|
||||
const addBrAfterNewline = array => {
|
||||
return array.map(obj => {
|
||||
const tmp = cloneDeep(obj)
|
||||
if (tmp.__typename === 'Post') {
|
||||
@ -61,7 +61,7 @@ const addBrAfterNewlinw = array => {
|
||||
}
|
||||
|
||||
const createExpectedObject = array => {
|
||||
return { data: { findResources: addBrAfterNewlinw(array) } }
|
||||
return { data: { findResources: addBrAfterNewline(array) } }
|
||||
}
|
||||
|
||||
const addPostToDB = post => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user