breadcrum pointer

This commit is contained in:
Niklas 2021-08-24 19:22:04 +02:00
parent fbf1d8e916
commit 27326898f9

View File

@ -12,7 +12,7 @@ const Breadcrum: React.FC<Props> = (props) => {
return (
<ul className="flex text-gray-500 text-lg">
<li className="inline-flex items-center">
<li className="inline-flex items-center cursor-pointer">
<a onClick={()=>{
props.onDirClick?.("/")
}}>
@ -21,7 +21,7 @@ const Breadcrum: React.FC<Props> = (props) => {
</li>
{parts.map((e,i,arr)=>{
const last = i == arr.length - 1
return <div key={e} className="inline-flex items-center">
return <div key={e} className="inline-flex items-center cursor-pointer">
<BreadcrumImage />
<li>
<a