Skip to content

Commit

Permalink
Remove logs, update release notes, move Router outside of ternary ope…
Browse files Browse the repository at this point in the history
…rator

Signed-off-by: Vladimir <[email protected]>
  • Loading branch information
vladimir-mck committed Aug 3, 2023
1 parent 101d655 commit 08f2365
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
3 changes: 1 addition & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ Please follow the established format:

- Fix incorrect rendering of datasets in modular pipelines. (#1439)
- Fix broken SVG/PNG exports in light theme. (#1463)
- Fix error when setting globalToolbar prop value as false. (#1351)
- Fix error error in dropdown component. (#1351)
- Fix dataset and global tool bar error with standalone React component (#1351)

# Release 6.3.4

Expand Down
16 changes: 8 additions & 8 deletions src/components/wrapper/wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ export const Wrapper = ({ displayGlobalToolbar, theme }) => {
})}
>
<h1 className="pipeline-title">Kedro-Viz</h1>
{displayGlobalToolbar ? (
<GraphQLProvider>
<Router>
<Router>
{displayGlobalToolbar ? (
<GraphQLProvider>
<GlobalToolbar isOutdated={isOutdated} />
<SettingsModal
isOutdated={isOutdated}
Expand All @@ -69,11 +69,11 @@ export const Wrapper = ({ displayGlobalToolbar, theme }) => {
<ExperimentWrapper />
</Route>
</Switch>
</Router>
</GraphQLProvider>
) : (
<FlowChartWrapper />
)}
</GraphQLProvider>
) : (
<FlowChartWrapper />
)}
</Router>
</div>
);
};
Expand Down
1 change: 0 additions & 1 deletion src/store/load-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { getUrl } from '../utils';
*/
const loadJsonData = (path = getUrl('main'), fallback = {}) =>
json(path).catch(() => {
console.log(path);
const fullPath = `/public${path.substr(1)}`;

// For main route throw a user error
Expand Down

0 comments on commit 08f2365

Please sign in to comment.