Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit023036b

Browse files
committed
fix failure on click, null -> empty function
1 parenta68e9ce commit023036b

File tree

2 files changed

+2
-2
lines changed
  • lib/components/Progress/ProgressPage
  • src/components/Progress/ProgressPage

2 files changed

+2
-2
lines changed

‎lib/components/Progress/ProgressPage/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var ProgressPage = (function (_super) {
3333
varcanActivate=index<=pagePosition;
3434
return(React.createElement(List_1.ListItem,{key:index,style:Object.assign({},styles,canActivate ?{} :{color:colors_1.grey400}),primaryText:(index+1)+". "+page.title,secondaryText:page.description,leftIcon:progressIcon_1.default(progress.pages,pagePosition,index),onClick:canActivate
3535
?selectPage.bind(this,index)
36-
:null}));
36+
:function(){return;}}));
3737
};
3838
;
3939
ProgressPage=__decorate([

‎src/components/Progress/ProgressPage/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default class ProgressPage extends React.Component<{
4040
canActivate
4141
?selectPage.bind(this,index)
4242
// do nothing
43-
:null
43+
:()=>{return;}
4444
}
4545
/>
4646
);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp