mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-10-01 03:16:51 +02:00
Add module resolver and refactor guide loading
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import Link from 'next/link';
|
||||
import { Author, AuthorImage, AuthorName, BlockLink, BlockMeta, BlockSubtitle, BlockTitle, PublishDate } from './style';
|
||||
import { findByUsername } from '../../lib/author';
|
||||
import { findByUsername } from 'lib/author';
|
||||
|
||||
const GuideBlock = ({ guide }) => {
|
||||
const author = findByUsername(guide.author) || {};
|
||||
@@ -23,4 +23,4 @@ const GuideBlock = ({ guide }) => {
|
||||
)
|
||||
};
|
||||
|
||||
export default GuideBlock;
|
||||
export default GuideBlock;
|
||||
|
Reference in New Issue
Block a user