Skip to content

Commit

Permalink
fix the pages
Browse files Browse the repository at this point in the history
  • Loading branch information
rlh1994 committed Mar 13, 2024
1 parent 23548c2 commit 1892caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/JsonSchemaValidator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ LicenseInfo.setLicenseKey("a3d6a1e3cdca760ace01b65d01608642Tz03MTE1NixFPTE3MjE1N
function importAll(r) {
const mods = {}
r.keys().forEach(element => {
mods[element.substring(2, element.length - 3)] = r(element);
mods[element.substring(2, element.length - 5)] = r(element);
});
return mods;
}
Expand Down Expand Up @@ -247,7 +247,7 @@ export function DbtCongfigurationPage({ schemaName, versions, label, children })
var versionedSchema = null

if ((schemaName + '_' + schemaVersion) in schemaImports) {
versionedSchema = schemaImports[schemaName + '_' + schemaVersion].Schema;
versionedSchema = schemaImports[schemaName + '_' + schemaVersion];
}

const childProps = Children.map(children, (child) => {
Expand Down

0 comments on commit 1892caf

Please sign in to comment.