about summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-04-03 20:59:33 -0700
committerGitHub <noreply@github.com>2024-04-03 20:59:33 -0700
commit8e393b16f502ca201393d1fd585c870fee8a4fe9 (patch)
treef7132f60173434f9ae2344fa359f2a5e3b7446d1 /package.json
parentb1bd7ab6e3bd9226383b6eb979857564775435ad (diff)
downloadvoidsky-8e393b16f502ca201393d1fd585c870fee8a4fe9.tar.zst
Simplify list logic further to prevent misuse (#3334)
* simplify list logic further

more simplification

simplify by removing `isEmpty`

use `isFetchingNextPage` everywhere for clarity

change `isFetching` to `isFetchingNextPage` for clarity

remove some useless `useMemo`s

move `renderItem` and `keyExtractor` out of component

* clean bundle size check

* update deploy

* adjust

* adjust

* one test

* try now

* test it

* done
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 0 insertions, 1 deletions
diff --git a/package.json b/package.json
index 475969268..b9ffbe2dd 100644
--- a/package.json
+++ b/package.json
@@ -39,7 +39,6 @@
     "perf:test:results": "NODE_ENV=test flashlight report .perf/results.json",
     "perf:measure": "NODE_ENV=test flashlight measure",
     "intl:build": "yarn intl:extract && yarn intl:compile",
-    "intl:check": "yarn intl:extract && git diff-index -G'(^[^\\*# /])|(^#\\w)|(^\\s+[^\\*#/])' HEAD || (echo '\n⚠️ i18n detected un-extracted translations\n' && exit 1)",
     "intl:extract": "lingui extract",
     "intl:compile": "lingui compile",
     "nuke": "rm -rf ./node_modules && rm -rf ./ios && rm -rf ./android",