mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-05 16:33:36 +00:00
Switch to nodenext, add file extensions to all imports
This commit is contained in:
84 files changed
+266
-263
No files matched your search
@@ -2,18 +2,18 @@ import { useState } from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { NostrEvent } from '@nostrify/nostrify';
|
||||
import { nip19 } from 'nostr-tools';
|
||||
import { useAuthor } from '@/hooks/useAuthor';
|
||||
import { useComments } from '@/hooks/useComments';
|
||||
import { CommentForm } from './CommentForm';
|
||||
import { NoteContent } from '@/components/NoteContent';
|
||||
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Card, CardContent } from '@/components/ui/card';
|
||||
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '@/components/ui/collapsible';
|
||||
import { DropdownMenu, DropdownMenuTrigger } from '@/components/ui/dropdown-menu';
|
||||
import { useAuthor } from '@/hooks/useAuthor.js';
|
||||
import { useComments } from '@/hooks/useComments.js';
|
||||
import { CommentForm } from "./CommentForm.js";
|
||||
import { NoteContent } from '@/components/NoteContent.jsx';
|
||||
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar.jsx';
|
||||
import { Button } from '@/components/ui/button.jsx';
|
||||
import { Card, CardContent } from '@/components/ui/card.jsx';
|
||||
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '@/components/ui/collapsible.jsx';
|
||||
import { DropdownMenu, DropdownMenuTrigger } from '@/components/ui/dropdown-menu.jsx';
|
||||
import { MessageSquare, ChevronDown, ChevronRight, MoreHorizontal } from 'lucide-react';
|
||||
import { formatDistanceToNow } from 'date-fns';
|
||||
import { genUserName } from '@/lib/genUserName';
|
||||
import { genUserName } from '@/lib/genUserName.js';
|
||||
|
||||
interface CommentProps {
|
||||
root: NostrEvent | URL;
|
||||
|
||||
Reference in new issue
Block a user