Skip to content

Commit

Permalink
feat: Fixed issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tbalar-splunk committed Mar 3, 2021
1 parent 668d2a5 commit 887f419
Showing 1 changed file with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,14 @@ if (page === 'inputs') {
<SplunkThemeProvider {...themeProviderSettings}>
<StyledContainer>
<ConfigManager>
<StyledGreeting>Hello, from inside Inputs!</StyledGreeting>
<div>Your component will appear below.</div>
<TestComponent name="from inside TestComponent" />
{({loading, appData}) => {
return !loading && appData && (
<>
<StyledGreeting>Hello, from inside Inputs!</StyledGreeting>
<TestComponent name="from inside TestComponent" />
</>
)
}}
</ConfigManager>
</StyledContainer>
</SplunkThemeProvider>,
Expand All @@ -53,9 +58,14 @@ if (page === 'inputs') {
<SplunkThemeProvider {...themeProviderSettings}>
<StyledContainer>
<ConfigManager>
<StyledGreeting>Hello, from inside Configuration!</StyledGreeting>
<div>Your component will appear below.</div>
<TestComponent name="from inside TestComponent" />
{({loading, appData}) => {
return !loading && appData && (
<>
<StyledGreeting>Hello, from inside Configuration!</StyledGreeting>
<TestComponent name="from inside TestComponent" />
</>
)
}}
</ConfigManager>
</StyledContainer>
</SplunkThemeProvider>,
Expand Down

0 comments on commit 887f419

Please sign in to comment.