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

Statusbar git section fix #4930

Merged
merged 3 commits into from
Jun 27, 2024
Merged

Statusbar git section fix #4930

merged 3 commits into from
Jun 27, 2024

Conversation

joeizang
Copy link
Collaborator

fixes #4893

@joeizang joeizang added the ready-to-review PR ready to review label Jun 27, 2024
@joeizang joeizang requested review from yann300 and Aniket-Engg June 27, 2024 08:06
@joeizang joeizang self-assigned this Jun 27, 2024
Copy link

netlify bot commented Jun 27, 2024

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit aa409d1
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/667d2dad8cf75e0008957761
😎 Deploy Preview https://deploy-preview-4930--remixproject.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -63,10 +62,10 @@ export default function GitStatus({ plugin, gitBranchName, setGitBranchName }: G
className="d-flex flex-row pl-3 text-white justify-content-center align-items-center remixui_statusbar_gitstatus"
onClick={async () => await lightDgitUp()}
>
{gitBranchName.length > 0 && gitBranchName !== 'Not a git repo' ? <span className="fa-regular fa-code-branch ml-1"></span>
{gitBranchName && gitBranchName !== 'Not a git repo' && gitBranchName.length > 0 ? <span className="fa-regular fa-code-branch ml-1"></span>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't you check for "localhost"?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@joeizang joeizang requested a review from LianaHus June 27, 2024 09:13
@Aniket-Engg Aniket-Engg merged commit cc86ee6 into master Jun 27, 2024
32 checks passed
@Aniket-Engg Aniket-Engg deleted the fix-gitstatusbar-crash branch June 27, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-review PR ready to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use git feature and remixd crashes the browser
4 participants