mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 02:21:49 +03:00
e100d252b2
## Description - Add null checks before clearTimeout calls in colorful-fallback.tsx, edgeless.dialog.tsx, and local.dialog.tsx - Fix event listener cleanup in unfolding.tsx - Update tsconfig.jsx to use react-jsx transform ## Testing - [x] Verified type safety improvements for React 19 compatibility - [x] Ensured proper cleanup of event listeners and timeouts - [x] Confirmed no unintended side effects from the changes Link to Devin run: https://app.devin.ai/sessions/2e790f3ea0d84402837ec6c3c6f83e4c |
||
---|---|---|
.. | ||
App | ||
src | ||
.gitignore | ||
capacitor.config.ts | ||
package.json | ||
project.json | ||
README.md | ||
tsconfig.json |
iOS
AFFiNE iOS app.
Build
yarn install
BUILD_TYPE=canary PUBLIC_PATH="/" yarn workspace @affine/ios build
yarn workspace @affine/ios cap sync
yarn workspace @affine/ios cap open ios
Live Reload
Capacitor doc: https://capacitorjs.com/docs/guides/live-reload#using-with-framework-clis
yarn install
yarn dev
- select
ios
for the "Distribution" option
- select
yarn workspace @affine/ios sync:dev
yarn workspace @affine/ios cap open ios