Merge pull request #69 from apuc/candidate-area

fixes
This commit is contained in:
NikoM1k 2023-04-10 18:50:00 +03:00 committed by GitHub
commit 9cfcd2ab32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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