Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: login admin #93

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/src/containers/public/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ const Navigation: React.FC<NavigationProps> = ({ isAdmin = false }) => {
<div className="absolute top-full right-0 mt-2 bg-white shadow-md rounded-md p-4 w-[300px] flex flex-col z-50">
<Link
className="hover:text-orange-500 border-y border-gray-200 py-2 flex items-center gap-2 whitespace-nowrap text-slate-950"
to={'/user/login'}
to={path.LOGIN_USER}
>
<RiUserLine />
Đăng nhập cho người dùng
</Link>
<Link
className="hover:text-orange-500 border-y border-gray-200 py-2 flex items-center gap-2 whitespace-nowrap text-slate-950"
to={'/admin/login'}
to={'admin/login'}
>
<RiAdminLine />
Đăng nhập cho admin
Expand Down
Loading