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

Header Tweaks #14

Merged
merged 4 commits into from
Oct 6, 2021
Merged

Header Tweaks #14

merged 4 commits into from
Oct 6, 2021

Conversation

ianconsolata
Copy link
Contributor

This is a collection of small changes I had on my branch that are still relevant after your modal work.

@vercel
Copy link

vercel bot commented Oct 6, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/mysilio/garden/67uHyr8n9a3SvWVag9qstQqPdyXN
✅ Preview: https://garden-git-id-header-tweaks.mysilio.page

export default function Avatar({ src, className }) {
Copy link
Contributor

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

Copy link
Contributor Author

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}
Copy link
Contributor Author

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?

@travis travis merged commit 6ba25bf into staging Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants