miamihotline commented on a change in pull request #16910:
URL: https://github.com/apache/beam/pull/16910#discussion_r813851894



##########
File path: playground/frontend/lib/modules/sdk/components/sdk_selector.dart
##########
@@ -67,15 +67,7 @@ class SDKSelector extends StatelessWidget {
                     onSelect: () {
                       close();
                       setSdk(value);
-                      setExample(
-                        state.defaultExamplesMap![value] ??
-                            ExampleModel(
-                              name: kEmptyExampleName,
-                              path: '',
-                              description: '',
-                              type: ExampleType.example,
-                            ),
-                      );
+                      setExample(state.defaultExamplesMap![value]!);

Review comment:
       Hello @KonradJanica! Thank you for the review! I'll fix this in the next 
commit.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to