Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/251-update-profile-partner #255

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 34 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/MenuProfiles.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import '../styles/styles.css';
import React from 'react';
import React, { useState } from 'react';


const profileItems = {
Expand Down
4 changes: 2 additions & 2 deletions src/screens/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ import VolunteerFormation from './volunteers/VolunteerFormation';

// PARTNERS
import PartnerProfile from './partners/PartnerProfile';
import ParterProfileUpdate from './partners/PartnerProfileUpdate';
import PartnerProfileUpdate from './partners/PartnerProfileUpdate';
import PartnersCalendar from './partners/PartnersCalendar';
import PartnersRenew from './partners/PartnersRenew';
import PartnerForm from './partners/PartnerForm';
Expand Down Expand Up @@ -222,7 +222,7 @@ function App() {
{role === 'SOCIO' && (
<>
<Route path="/socio/perfil" exact={true} element={<PartnerProfile />} />
<Route path="/socio/perfil/actualizar" exact={true} element={<ParterProfileUpdate />} />
<Route path="/socio/perfil/actualizar" exact={true} element={<PartnerProfileUpdate />} />
<Route path="/socio/calendario" exact={true} element={<PartnersCalendar />} />
<Route path="/socio/renovar" exact={true} element={<PartnersRenew />} />
<Route path="/socio/formulario" exact={true} element={<PartnerForm />} />
Expand Down
4 changes: 2 additions & 2 deletions src/screens/partners/PartnerProfileUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import UpdateProfile from '../../components/UpdateProfile';
const PartnerProfileUpdate = () => {

return (
<LayoutProfiles profile={'socios'} >
<UpdateProfile tipo={'socios'}/>
<LayoutProfiles profile={'socio'} >
<UpdateProfile tipo={'socio'}/>
</LayoutProfiles>
)

Expand Down