nitro-web 0.0.148 → 0.0.149
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -95,7 +95,8 @@ export function Styleguide({ className, elements, children, currencies }: Styleg
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
function indirectlyChangeTheState() {
|
|
98
|
+
function indirectlyChangeTheState(e: React.MouseEvent<HTMLAnchorElement>) {
|
|
99
|
+
e.preventDefault()
|
|
99
100
|
// Change the state indirectly to test the inputs reactivity
|
|
100
101
|
setState((s: typeof state) => {
|
|
101
102
|
if (s.firstName == 'Bruce') return getState(true)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitro-web",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.149",
|
|
4
4
|
"repository": "github:boycce/nitro-web",
|
|
5
5
|
"homepage": "https://boycce.github.io/nitro-web/",
|
|
6
6
|
"description": "Nitro is a battle-tested, modular base project to turbocharge your projects, styled using Tailwind 🚀",
|