mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-02-24 03:23:08 +01:00
4 lines
141 B
JavaScript
4 lines
141 B
JavaScript
import authors from "data/authors";
|
|
|
|
export const findByUsername = (username) => authors.find(author => author.username === username) || {};
|