Skip to content

Commit d6cdd2e

Browse files
authored
fix(table): typo (#2463)
* fix(table): typo * fix: indent of package.json
1 parent 6c71de6 commit d6cdd2e

File tree

6 files changed

+220
-222
lines changed

6 files changed

+220
-222
lines changed

.eslintignore

-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ es/
77
lib/
88
_site/
99
dist/
10-
package.json

.prettierignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
**/*.svg
2-
package.json
32
lib/
43
es/
54
dist/

components/_util/responsiveObserve.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const responsiveObserve = {
8484
};
8585
this.dispatch(pointMap);
8686
},
87-
// Keep a empty destory to avoid triggering unmatch when unregister
87+
// Keep a empty destroy to avoid triggering unmatch when unregister
8888
destroy() {},
8989
}),
9090
);

components/_util/store/connect.jsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function getDisplayName(WrappedComponent) {
1111
const defaultMapStateToProps = () => ({});
1212
export default function connect(mapStateToProps) {
1313
const shouldSubscribe = !!mapStateToProps;
14-
const finnalMapStateToProps = mapStateToProps || defaultMapStateToProps;
14+
const finalMapStateToProps = mapStateToProps || defaultMapStateToProps;
1515
return function wrapWithConnect(WrappedComponent) {
1616
const tempProps = omit(WrappedComponent.props || {}, ['store']);
1717
const props = {
@@ -30,13 +30,13 @@ export default function connect(mapStateToProps) {
3030
this.store = this.storeContext.store;
3131
this.preProps = omit(getOptionProps(this), ['__propsSymbol__']);
3232
return {
33-
subscribed: finnalMapStateToProps(this.store.getState(), this.$props),
33+
subscribed: finalMapStateToProps(this.store.getState(), this.$props),
3434
};
3535
},
3636
watch: {
3737
__propsSymbol__() {
3838
if (mapStateToProps && mapStateToProps.length === 2) {
39-
this.subscribed = finnalMapStateToProps(this.store.getState(), this.$props);
39+
this.subscribed = finalMapStateToProps(this.store.getState(), this.$props);
4040
}
4141
},
4242
},
@@ -53,7 +53,7 @@ export default function connect(mapStateToProps) {
5353
return;
5454
}
5555
const props = omit(getOptionProps(this), ['__propsSymbol__']);
56-
const nextSubscribed = finnalMapStateToProps(this.store.getState(), props);
56+
const nextSubscribed = finalMapStateToProps(this.store.getState(), props);
5757
if (
5858
!shallowEqual(this.preProps, props) ||
5959
!shallowEqual(this.subscribed, nextSubscribed)

components/_util/wave.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default {
5454
const attributeName = this.getAttributeName();
5555
node.removeAttribute(attributeName);
5656
node.setAttribute(attributeName, 'true');
57-
// Not white or transparnt or grey
57+
// Not white or transparent or grey
5858
styleForPesudo = styleForPesudo || document.createElement('style');
5959
if (
6060
waveColor &&

0 commit comments

Comments
 (0)