fix: remove is-mobile lib (#5826)

pull/5827/head
Arik Chakma 6 months ago committed by GitHub
parent caf2f14e54
commit 4254446552
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 10
      src/components/TopicDetail/TopicDetail.tsx

@ -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;

Loading…
Cancel
Save