Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 3954 Rev 3962
Línea 7... Línea 7...
7
import { addNotification } from '../../../../redux/notification/notification.actions'
7
import { addNotification } from '../../../../redux/notification/notification.actions'
8
import ConfirmModal from '../../../../shared/confirm-modal/ConfirmModal'
8
import ConfirmModal from '../../../../shared/confirm-modal/ConfirmModal'
9
import FormErrorFeedback from '../../../../shared/form-error-feedback/FormErrorFeedback'
9
import FormErrorFeedback from '../../../../shared/form-error-feedback/FormErrorFeedback'
Línea 10... Línea 10...
10
 
10
 
-
 
11
const FeedCommentSection = ({
11
const FeedCommentSection = ({
12
    isShow = true,
12
    image = '',
13
    image = '',
13
    addUrl = '',
14
    addUrl = '',
14
    updateTotalComments = function () { },
15
    updateTotalComments = function () { },
15
    comments = []
16
    comments = [],
Línea 16... Línea 17...
16
}) => {
17
}) => {
17
 
18
 
Línea 36... Línea 37...
36
                reset();
37
                reset();
37
            })
38
            })
38
    };
39
    };
Línea 39... Línea 40...
39
 
40
 
40
    return (
41
    return (
41
        <>
42
        <div className={`comments-container ${isShow ? 'show' : 'hidden'}`}>
42
            <form
43
            <form
43
                className='form-comment-feed'
44
                className='form-comment-feed'
-
 
45
                onSubmit={handleSubmit(submitCommentHandler)}
44
                onSubmit={handleSubmit(submitCommentHandler)}
46
 
45
            >
47
            >
46
                <div className='feedCommentContainer'>
48
                <div className='feedCommentContainer'>
47
                    <img src={image} alt="User profile image" />
49
                    <img src={image} alt="User profile image" />
48
                    <input
50
                    <input
Línea 62... Línea 64...
62
            <FeedCommentSection.CommentsList
64
            <FeedCommentSection.CommentsList
63
                comments={commentsState}
65
                comments={commentsState}
64
                updateTotalComments={updateTotalComments}
66
                updateTotalComments={updateTotalComments}
65
                setComments={setCommentsState}
67
                setComments={setCommentsState}
66
            />
68
            />
67
        </>
69
        </div>
68
    )
70
    )
69
}
71
}
Línea 70... Línea 72...
70
 
72