mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-03-15 10:49:43 +01:00
Since Immer freezes the selection, we will get a TypeError if we try to mutate the selection. Also, there's no need to mutate it directly in Transforms.setPoint.