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

Update dependencies #105

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

PascalHonegger
Copy link

No description provided.

Copy link

netlify bot commented Jan 4, 2025

👷 Deploy request for coronate pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 727d524

"warnings": {
"number": "+A-48-42",
"number": "+A-48-42-44",
Copy link
Author

Choose a reason for hiding this comment

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

The open Belt generates a ton of warnings otherwise, but I'm not the biggest fan of suppressing it either

Copy link
Owner

Choose a reason for hiding this comment

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

For this warning, you can suppress it case-by-case by using open! which is probably preferable to disabling it completely. https://rescript-lang.org/docs/manual/v11.0.0/module#use-open-to-ignore-shadow-warnings

Pull requests and bug reports are welcome! */
type t
@get external getHelpers: numeral => t = "_"
// module Helpers = {
Copy link
Author

Choose a reason for hiding this comment

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

Couldn't get these to compile at all, no idea why

Copy link
Owner

Choose a reason for hiding this comment

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

Ugh. This code was always pretty messy and I don't recall the details of how/why I designed it now. I can try to take a look at it later when I get a chance.

@@ -371,7 +373,8 @@ let make = (~windowDispatch=_ => ()) => {
)
/* so the filename won't linger onscreen */
/* https://github.com/BuckleScript/bucklescript/issues/4391 */
@warning("-20") ReactEvent.Form.currentTarget(event)["value"] = ""
// TODO remove file-scoped @warning("-20") and fix this locally
Copy link
Author

Choose a reason for hiding this comment

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

this seems like a bug in rescript?

@@ -41,18 +41,23 @@ let isLoadedDone = x =>
}

@react.component
let make = (~children, ~tourneyId, ~windowDispatch=_ => ()) => {
let make = (~children, ~tourneyId, ~windowDispatch=?) => {
Copy link
Author

Choose a reason for hiding this comment

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

This component and the mock for it were actively fighting against me, I have no idea why no combination I've tried works

src/PageTournament/PageTourneyScores.res Show resolved Hide resolved
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