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

Minor code updates #183

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Minor code updates #183

wants to merge 3 commits into from

Conversation

Arcktosh
Copy link

I updated several minor imports, and code snippets used in kirimase, making it less likely for errors and more type safe where I could find.

Fixing some of the imports by Typescript standards
** Still in progress **
after using kirimase, the following tend to be errors based on biome
♦ update strings returned as a concatenated string rather than a string with a variable added
♦ import types updated
♦ strongly typed if statements
♦ defaultValues are now instead set to field values or empty string, this will remove any possible incompatible null vs unassigned
♦ when defaulting to Input fields:  `<Input {...field} />`, an error occurs of incompatible field values, so deconstructing the value to `value={field.value || ''}` solves this error
@Arcktosh
Copy link
Author

added more minor updates from errors faced

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.

None yet

1 participant