This commit is contained in:
LathanDevers
2026-07-25 22:26:19 +02:00
5 changed files with 29 additions and 6 deletions
+24 -2
View File
@@ -1,2 +1,24 @@
node_modules/ # Logs
dist/ logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local
# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
+2 -1
View File
@@ -1,4 +1,5 @@
import React from 'react'; import { useState, useEffect } from 'react';
import { pb } from '../../config/pocketbase';
export default function AccountSettings() { export default function AccountSettings() {
return ( return (
+1 -1
View File
@@ -1,4 +1,4 @@
import React, { useState, useEffect } from 'react'; import { useState, useEffect } from 'react';
import { pb } from '../../config/pocketbase'; import { pb } from '../../config/pocketbase';
import NewTicket from './NewTicket'; // Ajustez le chemin d'import selon votre arborescence import NewTicket from './NewTicket'; // Ajustez le chemin d'import selon votre arborescence
import TicketDetail from './TicketDetail'; // Ajustez le chemin d'import selon votre arborescence import TicketDetail from './TicketDetail'; // Ajustez le chemin d'import selon votre arborescence
+1 -1
View File
@@ -61,7 +61,7 @@ export default function TicketDetail({ ticketId, onBack }: TicketDetailProps) {
}, [ticketId]); }, [ticketId]);
// Envoi d'un nouveau message dans la discussion // Envoi d'un nouveau message dans la discussion
const handleSendMessage = async (e: React.FormEvent) => { const handleSendMessage = async (e: React.SubmitEvent) => {
e.preventDefault(); e.preventDefault();
if (!newMessage.trim() || !currentUser) return; if (!newMessage.trim() || !currentUser) return;
+1 -1
View File
@@ -19,7 +19,7 @@
/* Linting */ /* Linting */
"noUnusedLocals": true, "noUnusedLocals": true,
"noUnusedParameters": true, "noUnusedParameters": true,
"erasableSyntaxOnly": true, "erasableSyntaxOnly": false,
"noFallthroughCasesInSwitch": true "noFallthroughCasesInSwitch": true
}, },
"include": ["src"] "include": ["src"]