Commit graph

8 commits

Author SHA1 Message Date
86680d9c21 fix(nostr): debugging nostr after version update(in progress) 2024-12-12 23:24:23 +03:00
eb0d678521 feat(nostr): integrate nostr 2024-12-10 22:28:38 +03:00
893c2d9ea7 feat(style): add stying 2024-12-10 18:35:39 +03:00
d9b60fb9f1 fix(item list): make item list reactive. 2024-12-10 14:49:45 +03:00
58e8faa11c refactor(comments): add comments to files 2024-12-09 19:24:46 +03:00
8c03fa35a1 fix: fix App component signal handling and on_submit prop
- Replaced incorrect path statement in `add_item` with proper use of `set_items.update` for signal mutation.
- Fixed dynamic dispatch for `on_submit` by boxing the `add_item` closure.
- Simplified `items_signal` usage by removing unnecessary `.clone()`.
- Improved code consistency and alignment with the latest Leptos updates.
2024-12-09 14:58:05 +03:00
fca8c6fa2f fix(app): enhance signal management in App component
- Switched from `create_signal` to a tuple-based signal declaration using `(items_signal, set_items)` for improved clarity.
- Replaced `items.update` with a closure-based update approach for `set_items`.
- Added `Box::new` to `ItemForm`'s `on_submit` to properly handle the function's lifetime and scope.
- Removed unused imports for `leptos_meta` and `leptos_router` to clean up the code.
2024-12-09 13:56:39 +03:00
9afc89833a feat: update leptos to newest version 2024-12-06 14:45:14 +03:00