My pages folder like that ;
My code is here :
employees. Page code is below , when i click add Employee button ı redirect to add-employee but lets say when i change the code add-employee.js ı take this warning message what ı have to do ?
Page is refreshing why ?
<div className='my-4 mx-6'>
<Link href={'/employees/add-employee'}>
<a className='flex items-center border p-3 '>
<AiOutlineUserAdd />
Add Employee
</a>
</Link>
</div>
Error Message