Skip to content

Commit

Permalink
Fixing import error for sources
Browse files Browse the repository at this point in the history
  • Loading branch information
GTFalcao committed Apr 23, 2024
1 parent 2762c39 commit ca6be9e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions components/gitlab_developer_app/common/utils.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@ export function adjustPropDefinitions(props, app) {
return Object.fromEntries(
Object.entries(props).map(([
key,
{
propDefinition, ...otherValues
},
prop,
]) => {
if (typeof prop === "string") return [
key,
prop,
];
const {
propDefinition, ...otherValues
} = prop;
if (propDefinition) {
const [
, ...otherDefs
Expand Down

0 comments on commit ca6be9e

Please sign in to comment.