Skip to content

Commit

Permalink
Update desktop version changelog (#26)
Browse files Browse the repository at this point in the history
* update(desktop): updated version and changelog

* fix(components/compounds): remove useless log
  • Loading branch information
GervinFung authored Apr 16, 2024
1 parent 2441388 commit 4f23883
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 6 additions & 0 deletions apps/desktop/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 0.0.4 (16 Apr 2024)

- (Fix) Store search compound input so changing rows per page, or different page perserve it, instead of having to type again
- (Fix) Searching compound always navigate back to first page, instead of defaulting to current page
- (Fix) Compound search fallback to page 1 when there is no pages or only 1 page is available, instead of throwing error

# 0.0.3 (14 Apr 2024)

- (Fix) Downgrade Ubuntu from latest version to 20.04 for building app in older version
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@periotable/desktop",
"version": "0.0.3",
"version": "0.0.4",
"author": "PoolOfDeath20",
"private": true,
"license": "GPL",
Expand Down
4 changes: 0 additions & 4 deletions apps/web/src/web/components/compounds/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,6 @@ const ListOfCompounds = (
}, [search.unwrapOrGet('')]);

React.useEffect(() => {
const search = debounceSearch.unwrapOrGet(undefined);

console.log({ search, oldSearch });

debounceSearch.ifSome((search) => {
if (oldSearch !== search) {
switch (props.useNativeRouter) {
Expand Down

0 comments on commit 4f23883

Please # to comment.