mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-12 12:13:58 +02:00
fix: remove is-mobile lib (#5826)
This commit is contained in:
@@ -23,21 +23,13 @@ import type {
|
|||||||
} from '../CustomRoadmap/CustomRoadmap';
|
} from '../CustomRoadmap/CustomRoadmap';
|
||||||
import { markdownToHtml, sanitizeMarkdown } from '../../lib/markdown';
|
import { markdownToHtml, sanitizeMarkdown } from '../../lib/markdown';
|
||||||
import { cn } from '../../lib/classname';
|
import { cn } from '../../lib/classname';
|
||||||
import {
|
import { Ban, FileText, HeartHandshake, X } from 'lucide-react';
|
||||||
Ban,
|
|
||||||
ExternalLink,
|
|
||||||
ExternalLinkIcon,
|
|
||||||
FileText,
|
|
||||||
HeartHandshake,
|
|
||||||
X,
|
|
||||||
} from 'lucide-react';
|
|
||||||
import { getUrlParams } from '../../lib/browser';
|
import { getUrlParams } from '../../lib/browser';
|
||||||
import { Spinner } from '../ReactIcons/Spinner';
|
import { Spinner } from '../ReactIcons/Spinner';
|
||||||
import { GitHubIcon } from '../ReactIcons/GitHubIcon.tsx';
|
import { GitHubIcon } from '../ReactIcons/GitHubIcon.tsx';
|
||||||
import { GoogleIcon } from '../ReactIcons/GoogleIcon.tsx';
|
import { GoogleIcon } from '../ReactIcons/GoogleIcon.tsx';
|
||||||
import { YouTubeIcon } from '../ReactIcons/YouTubeIcon.tsx';
|
import { YouTubeIcon } from '../ReactIcons/YouTubeIcon.tsx';
|
||||||
import { resourceTitleFromId } from '../../lib/roadmap.ts';
|
import { resourceTitleFromId } from '../../lib/roadmap.ts';
|
||||||
import { isMobile } from '../../../editor/utils/is-mobile.ts';
|
|
||||||
|
|
||||||
type TopicDetailProps = {
|
type TopicDetailProps = {
|
||||||
resourceTitle?: string;
|
resourceTitle?: string;
|
||||||
|
Reference in New Issue
Block a user