Commit 284ab648 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix

parent 0f4f01ce
...@@ -534,9 +534,8 @@ ...@@ -534,9 +534,8 @@
const createdAtDate = new Date(createdAtTimestamp * 1000) const createdAtDate = new Date(createdAtTimestamp * 1000)
.toISOString() .toISOString()
.split('T')[0]; .split('T')[0];
acc.push(`${index + 1}. [${createdAtDate}]. ${doc}`); return `${acc}${index + 1}. [${createdAtDate}]. ${doc}\n`;
return acc; }, '');
}, []);
} }
console.log(userContext); console.log(userContext);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment