1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-03-23 00:29:42 +01:00

fix: remove is-mobile lib (#5826)

This commit is contained in:
Arik Chakma 2024-06-07 14:53:26 +06:00 committed by GitHub
parent caf2f14e54
commit 4254446552
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,21 +23,13 @@ import type {
} from '../CustomRoadmap/CustomRoadmap';
import { markdownToHtml, sanitizeMarkdown } from '../../lib/markdown';
import { cn } from '../../lib/classname';
import {
Ban,
ExternalLink,
ExternalLinkIcon,
FileText,
HeartHandshake,
X,
} from 'lucide-react';
import { Ban, FileText, HeartHandshake, X } from 'lucide-react';
import { getUrlParams } from '../../lib/browser';
import { Spinner } from '../ReactIcons/Spinner';
import { GitHubIcon } from '../ReactIcons/GitHubIcon.tsx';
import { GoogleIcon } from '../ReactIcons/GoogleIcon.tsx';
import { YouTubeIcon } from '../ReactIcons/YouTubeIcon.tsx';
import { resourceTitleFromId } from '../../lib/roadmap.ts';
import { isMobile } from '../../../editor/utils/is-mobile.ts';
type TopicDetailProps = {
resourceTitle?: string;