Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 2780 | Rev 2885 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 2780 Rev 2806
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react'
2
import { useParams } from 'react-router-dom'
2
import { useParams } from 'react-router-dom'
3
import { Container, Grid } from '@mui/material'
3
import { Grid } from '@mui/material'
Línea 4... Línea 4...
4
 
4
 
Línea 5... Línea 5...
5
import { usePosts } from '@hooks'
5
import { usePosts } from '@hooks'
6
 
6
 
Línea 16... Línea 16...
16
    updateMyReaction,
16
    updateMyReaction,
17
    updateReactions
17
    updateReactions
18
  } = usePosts(`/post/${uuid}`)
18
  } = usePosts(`/post/${uuid}`)
Línea 19... Línea 19...
19
 
19
 
20
  return (
-
 
21
    <Container as='main' className='px-0'>
20
  return (
22
      <Grid container spacing={2}>
21
    <Grid container spacing={2}>
23
        <Grid item xs={12} md={8}>
22
      <Grid item xs={12} md={8}>
24
          <PostCard
23
        <PostCard
25
            post={post}
24
          post={post}
26
            addComment={addComment}
25
          addComment={addComment}
27
            updateTotalShare={updateTotalShare}
26
          updateTotalShare={updateTotalShare}
28
            updateMyReaction={updateMyReaction}
27
          updateMyReaction={updateMyReaction}
29
            updateReactions={updateReactions}
28
          updateReactions={updateReactions}
30
          />
-
 
31
        </Grid>
-
 
32
 
-
 
33
        <Grid item xs={12} md={4}>
-
 
34
          <HomeNews currentPost={post.uuid} />
-
 
35
        </Grid>
29
        />
-
 
30
      </Grid>
-
 
31
 
-
 
32
      <Grid item xs={12} md={4}>
-
 
33
        <HomeNews currentPost={post.uuid} />
36
      </Grid>
34
      </Grid>
37
    </Container>
35
    </Grid>
38
  )
36
  )
Línea 39... Línea 37...
39
}
37
}
40
 
38