tldraw/packages
MinhoPark 3ffcd1601d
refactor: Keep hook function convention the same (#2358)
I standardized the definition of the `useEditor hook` by changing it
from an `arrow function` to a `regular function`, in line with other
editor-related hooks.


### Change Type

- [ ] `patch` — Bug fix
- [ ] `minor` — New feature
- [ ] `major` — Breaking change
- [ ] `dependencies` — Changes to package dependencies[^1]
- [ ] `documentation` — Changes to the documentation only[^2]
- [ ] `tests` — Changes to any test code only[^2]
- [x] `internal` — Any other changes that don't affect the published
package[^2]
- [ ] I don't know

[^1]: publishes a `patch` release, for devDependencies use `internal`
[^2]: will not publish a new version

### Test Plan

1. Add a step-by-step description of how to test your PR here.
2.

- [x] Unit Tests
- [x] End to end tests

### Release Notes

- Add a brief release note for your PR here.
2023-12-20 09:06:20 +00:00
..
assets Use custom font (#2343) 2023-12-19 14:17:45 +00:00
editor refactor: Keep hook function convention the same (#2358) 2023-12-20 09:06:20 +00:00
state Change licenses to tldraw (#2167) 2023-12-19 10:41:01 +00:00
store Change licenses to tldraw (#2167) 2023-12-19 10:41:01 +00:00
tldraw focus on container before deleting to avoid losing focus (#2354) 2023-12-19 15:39:44 +00:00
tlschema Change licenses to tldraw (#2167) 2023-12-19 10:41:01 +00:00
utils fix png images with pixel ratios <0.5 crashing the app (#2350) 2023-12-19 12:35:42 +00:00
validate Change licenses to tldraw (#2167) 2023-12-19 10:41:01 +00:00