This commit is contained in:
Николай Полтщук 2023-04-10 18:49:30 +03:00
parent 57e877c5f2
commit d0eda91f91

View File

@ -24,7 +24,7 @@ const getYearsString = (years) => {
const CandidateSidebar = ({candidate, setActiveSnippet, activeSnippet}) => {
const userId = localStorage.getItem('id');
const showSnippet = () => {
setActiveSnippet((prev) => !prev)
setActiveSnippet(!activeSnippet)
};
return (