From 69aeb7889ac136a8e4fbe7de1330298e30345479 Mon Sep 17 00:00:00 2001
From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>
Date: Wed, 22 Oct 2025 13:59:12 +0400
Subject: feat/frontend: switch to vite, update node to v22 (#281)

---
 frontend/src/components/Discussions.tsx | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

(limited to 'frontend/src/components/Discussions.tsx')

diff --git a/frontend/src/components/Discussions.tsx b/frontend/src/components/Discussions.tsx
index 17ae586..0c37355 100644
--- a/frontend/src/components/Discussions.tsx
+++ b/frontend/src/components/Discussions.tsx
@@ -1,12 +1,12 @@
-import React from 'react';
+import React from "react";
 
-import { MapDiscussion, MapDiscussions, MapDiscussionsDetail } from '@customTypes/Map';
-import { MapDiscussionCommentContent, MapDiscussionContent } from '@customTypes/Content';
-import { time_ago } from '@utils/Time';
-import { API } from '@api/Api';
+import { MapDiscussion, MapDiscussions, MapDiscussionsDetail } from "@customTypes/Map";
+import { MapDiscussionContent } from "@customTypes/Content";
+import { time_ago } from "@utils/Time";
+import { API } from "@api/Api";
 import "@css/Maps.css"
-import { Link } from 'react-router-dom';
-import useConfirm from '@hooks/UseConfirm';
+import { Link } from "react-router-dom";
+import useConfirm from "@hooks/UseConfirm";
 
 interface DiscussionsProps {
   token?: string
@@ -141,7 +141,7 @@ const Discussions: React.FC<DiscussionsProps> = ({ token, data, isModerator, map
               data ?
                 (<>
                   {data.discussions.filter(f => f.title.includes(discussionSearch)).sort((a, b) => new Date(b.updated_at).getTime() - new Date(a.updated_at).getTime())
-                    .map((e, i) => (
+                    .map((e) => (
                       <div id='discussion-post'>
                         <button key={e.id} onClick={() => _open_map_discussion(e.id)}>
                           <span>{e.title}</span>
-- 
cgit v1.2.3

