Skip to content

Commit

Permalink
[chore] Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gkasdorf committed Oct 30, 2023
1 parent 4c21367 commit 2a9e5d8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 18 deletions.
2 changes: 0 additions & 2 deletions App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ void SplashScreen.preventAutoHideAsync();

LogBox.ignoreAllLogs(true);

// We are going to set a weird global here just so we can tell users about the upgrade

export default function App(): React.JSX.Element | null {
enableFreeze(true);

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"@tamagui/lucide-icons": "^1.74.19",
"@tamagui/theme-builder": "^1.74.19",
"@tamagui/themes": "^1.74.21",
"@tanstack/react-query": "^5.4.3",
"@types/lodash": "^4.14.199",
"@types/markdown-it": "^13.0.2",
"@types/react": "~18.2.14",
Expand Down
4 changes: 1 addition & 3 deletions src/hooks/useLoadData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ export const useLoadData = <ReturnType>(
const [returnData, setReturnData] = useState<ReturnType>();

useEffect(() => {
if (func == null) {
return;
}
if (func == null) return;

if (cacheFunc != null) {
const res = cacheFunc();
Expand Down
12 changes: 0 additions & 12 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3612,18 +3612,6 @@
"@tamagui/use-did-finish-ssr" "1.74.21"
"@tamagui/use-force-update" "1.74.21"

"@tanstack/[email protected]":
version "5.4.3"
resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-5.4.3.tgz#fbdd36ccf1acf70579980f2e7cf16d2c2aa2a5e9"
integrity sha512-fnI9ORjcuLGm1sNrKatKIosRQUpuqcD4SV7RqRSVmj8JSicX2aoMyKryHEBpVQvf6N4PaBVgBxQomjsbsGPssQ==

"@tanstack/react-query@^5.4.3":
version "5.4.3"
resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-5.4.3.tgz#cf59120690032e44b8c1c4c463cfb43aaad2fc5f"
integrity sha512-4aSOrRNa6yEmf7mws5QPTVMn8Lp7L38tFoTZ0c1ZmhIvbr8GIA0WT7X5N3yz/nuK8hUtjw9cAzBr4BPDZZ+tzA==
dependencies:
"@tanstack/query-core" "5.4.3"

"@types/fs-extra@^9.0.13":
version "9.0.13"
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-9.0.13.tgz#7594fbae04fe7f1918ce8b3d213f74ff44ac1f45"
Expand Down

0 comments on commit 2a9e5d8

Please sign in to comment.