fetchSnippetById = async (id) => {
  const language = lodashFind(snippetsData, (lang) => {
    return lang[id];
  });
  const snippetData = language[id];

  const savedSnipepts = await getSnippetsFromStorage();
  const isSaved = !!lodashFind(savedSnipepts, { id: id });

  snippetData.saved = isSaved;
  return snippetData;
}
NOTE: This function fetches a specific snippet
that matches the passed id