Skip to content

Commit

Permalink
Merge pull request #268 from Sterbenfr/fix/comments
Browse files Browse the repository at this point in the history
fix(comments): delete comments
  • Loading branch information
Aurelienschmi authored Jul 31, 2024
2 parents 2084592 + 5ed06db commit 18bac06
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/dons/[donsID]/modalites-livraison/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ function ModalitesLivraisonPage({ params }: { params: { donsID: string } }) {
value: poidsPrevuKg,
placeholder: 'Exemple: 580',
onInputChange: handlePoidsPrevuKg,
}, //pas negatif
},
{
id: 'produits_sur_palettes',
type: 'checkbox',
Expand Down
2 changes: 1 addition & 1 deletion app/dons/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ function DonsPage() {
) {
fields.splice(6, 0, {
id: 'code_mode_conservation_produits',
type: 'select', //que si code_type_produits = alimentaire
type: 'select',
value: null,
url: '../api/dons/type-mode-conservations-produits',
})
Expand Down
8 changes: 0 additions & 8 deletions app/societe/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ function SocietesPage() {

const [raisonSociale, setRaisonSociale] = useState('')
const [nomCommercial, setNomCommercial] = useState('')
//const [Logo, setLogo] = useState<Blob>()
const [siteWeb, setSiteWeb] = useState('')
const [Siren, setSiren] = useState('')
const [codeTypeActiviteSociete, setCodeTypeActiviteSociete] = useState('')
Expand All @@ -70,12 +69,6 @@ function SocietesPage() {
setNomCommercial(event.target.value)
}

/*const handleLogoChange = (event: React.ChangeEvent<HTMLInputElement>) => {
if (event.target.files) {
setLogo(event.target.files[0])
}
}*/

const handleSiteWebChange = (
event: React.ChangeEvent<HTMLInputElement>,
) => {
Expand Down Expand Up @@ -169,7 +162,6 @@ function SocietesPage() {
id: 'Logo',
type: 'file',
value: null,
//onInputChange: handleLogoChange,
},
{
id: 'site_Web',
Expand Down

0 comments on commit 18bac06

Please sign in to comment.