Rename to getPosts from getAllPosts

This commit is contained in:
prototypa
2022-08-19 03:40:26 -04:00
parent d8481a0637
commit 78e0507970

View File

@ -18,7 +18,7 @@ const load = async function () {
let _posts; let _posts;
export const getAllPosts = async () => { export const getPosts = async () => {
_posts = _posts || load(); _posts = _posts || load();
return await _posts; return await _posts;