- {this.props.greetingText == null ?
-
- :
{this.props.greetingText} {this.props.context.pageContext.user.displayName}
- // :
{this.props.greetingText} {this.props.context.pageContext.user.displayName}
+ {this.props.greetingText == null ?
+
+ :
{this.props.greetingText} {this.props.context.pageContext.user.displayName}
}
);
diff --git a/samples/react-personal-greeting/tsconfig.json b/samples/react-personal-greeting/tsconfig.json
index b440df1e5..75be22bff 100644
--- a/samples/react-personal-greeting/tsconfig.json
+++ b/samples/react-personal-greeting/tsconfig.json
@@ -30,10 +30,11 @@
"esModuleInterop": true
},
"include": [
- "src/**/*.ts"
+ "src/**/*.ts",
+ "src/**/*.tsx"
],
"exclude": [
"node_modules",
"lib"
]
-}
\ No newline at end of file
+}