feat: add resources
This commit is contained in:
		@@ -4,8 +4,11 @@ import { toast } from 'react-toastify';
 | 
			
		||||
const LoginMessage = () => {
 | 
			
		||||
  const handleClick = () => {
 | 
			
		||||
    const currentUrl = window.location.href;
 | 
			
		||||
    console.log(currentUrl);
 | 
			
		||||
    const redirect = encodeURIComponent(currentUrl);
 | 
			
		||||
    window.location.href = '/user/login?redirect=' + redirect;
 | 
			
		||||
    console.log('redirect', redirect);
 | 
			
		||||
    const newUrl = location.origin + '/user/login/?redirect=' + redirect;
 | 
			
		||||
    window.open(newUrl, '_self');
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user