fix errors
This commit is contained in:
parent
3081c5fd7d
commit
172196f561
@ -31,7 +31,7 @@ export const apiRequest = (url, {
|
||||
})
|
||||
.then(response => new Promise(resolve => {
|
||||
if (response.data.redirect || response.status === 401) {
|
||||
window.location.replace('/');
|
||||
window.location.replace('/auth');
|
||||
localStorage.clear();
|
||||
// dispatch(auth(false));
|
||||
}
|
||||
|
@ -33,7 +33,7 @@ const Description = ({onLoadMore, isLoadingMore}) => {
|
||||
candidatesListArr.map((el) => (
|
||||
<div className='row' key={el.id}>
|
||||
<div className='col-2 col-xs-12'>
|
||||
<img className='description__img' src={urlForLocal(el.photo)} alt=''/>
|
||||
{el.photo && <img className='description__img' src={urlForLocal(el.photo)} alt=''/>}
|
||||
</div>
|
||||
<div className='col-12 col-xl-6'>
|
||||
<h3 className='description__title'>
|
||||
|
Loading…
Reference in New Issue
Block a user