Skip to content

Commit e52971d

Browse files
committed
fix typo: hanlde -> handle
1 parent 0462b07 commit e52971d

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/figma-autolayout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,6 @@ We use Stretched Token for specifing specific widget to be stretched. Learn more
144144
## Hug contents item (Not having any intrinsic size)
145145

146146
> Hug contents will follow its items size, not having a intrinsic size of its own.
147-
> Learn how to hanlde this here at [box-sizing#Not having-any-intrinsic-size](./css-box-sizing.md)
147+
> Learn how to handle this here at [box-sizing#Not having-any-intrinsic-size](./css-box-sizing.md)
148148
149149
<!-- Code examples WIP -->

editor/pages/figma/inspect-component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default function InspectComponent() {
3232
<div style={{ margin: 60 }}>
3333
<h2>Not a component</h2>
3434
<p>
35-
This page cannot hanlde other types than <code>COMPONENT</code> or
35+
This page cannot handle other types than <code>COMPONENT</code> or
3636
<code>INSTANCE</code>
3737
</p>
3838
<p>

packages/builder-web-react/react-styled-component-widget/from-reusable-widget-tree.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ export function finalizeReactReusable_StyledComponents__Experimental({
1919
tree: InstanceWidget;
2020
components: MasterComponentWidget[];
2121
}) {
22-
const hanlde = (token) => {
22+
const handle = (token) => {
2323
if (token instanceof InstanceMetaToken) {
24-
const children = token.master["children"]?.map(hanlde);
24+
const children = token.master["children"]?.map(handle);
2525
return {
2626
...token.master,
2727
children,
@@ -31,7 +31,7 @@ export function finalizeReactReusable_StyledComponents__Experimental({
3131
}
3232
};
3333

34-
const token = hanlde(tree);
34+
const token = handle(tree);
3535
const webwi = compose(token, {});
3636
const builder = new ReactStyledComponentsModuleBuilder({
3737
entry: webwi,

packages/designto-token/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ For example,
2828
In this scenario, regardingless how much single pltform's design is exceptional, the data should follow the hierarchical shape to satisfy all platfrom.
2929

3030
**The reason is..**
31-
all the processing logic should be handled on tokenizer and the tokens are the result of the decision tree. No heavy, decision changing logic should be hanlded after the tokenization.
31+
all the processing logic should be handled on tokenizer and the tokens are the result of the decision tree. No heavy, decision changing logic should be handled after the tokenization.
3232

33-
e.g. All design elements has its position, but not all nodes are being placed statically on that posision. by wrapping (not as property) the position, we can tell the later hanlders that this is already decided to be positioned and have its static posision specified. - if we don't do this way each logic by frameworks will be fragmented and unable to maintain.
33+
e.g. All design elements has its position, but not all nodes are being placed statically on that posision. by wrapping (not as property) the position, we can tell the later handlers that this is already decided to be positioned and have its static posision specified. - if we don't do this way each logic by frameworks will be fragmented and unable to maintain.
3434

3535
### The first approach (noisy and accurate one)
3636

0 commit comments

Comments
 (0)