-
Notifications
You must be signed in to change notification settings - Fork 0
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
Header Tweaks #14
Header Tweaks #14
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/mysilio/garden/67uHyr8n9a3SvWVag9qstQqPdyXN |
components/Avatar.jsx
Outdated
export default function Avatar({ src, className }) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to pass ..rest
through to the top level element the way we do on lines 1 and 3 in the removed stuff above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha, missed that in the rebase. Whoa you can just splat those out in the component call, that's cool
/> | ||
); | ||
} else { | ||
return ( | ||
<span | ||
className={`inline-block h-12 w-12 rounded-full overflow-hidden bg-gray-100 cursor-pointer ${className}`} | ||
{...rest} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@travis Do I want this one too? If so did I put it in the right place?
This is a collection of small changes I had on my branch that are still relevant after your modal work.