Skip to content
This repository was archived by the owner on Mar 11, 2021. It is now read-only.

Commit c5d35ad

Browse files
bc022699bc022699
authored andcommitted
Remove unused context properties
1 parent 08d8e3e commit c5d35ad

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/components/Framework7App.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ export interface IFramework7AppContext {
2727
theme: {
2828
material: boolean;
2929
ios: boolean;
30-
},
31-
themeClass: string;
30+
},
3231
routes: IFramework7Route[];
3332
getFramework7: (callback: (f7: Framework7) => void) => void;
3433
onRouteChange: (componentId: number, callback: (route: IFramework7Route) => void) => void;
@@ -60,7 +59,6 @@ export class Framework7App extends React.Component<IFramework7AppProps, Framewor
6059
public getChildContext() {
6160
return {
6261
framework7AppContext: {
63-
themeType: this.props.themeType,
6462
getFramework7: this.getFramework7.bind(this),
6563
theme: {
6664
ios: this.props.themeType === 'ios',

0 commit comments

Comments
 (0)