Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9d1d733

Browse files
Code cleanup
1 parent 3fd02e0 commit 9d1d733

File tree

3 files changed

+5
-182
lines changed

3 files changed

+5
-182
lines changed

‎client/packages/lowcoder/src/comps/comps/tourComp/componentSelectorControl.tsx‎

Lines changed: 0 additions & 169 deletions
This file was deleted.

‎client/packages/lowcoder/src/comps/comps/tourComp/tourComp.tsx‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@ let TourBasicComp = (function () {
3232
};
3333
return new UICompBuilder(childrenMap, (props, dispatch) => {
3434
const editorState = useContext(EditorContext);
35-
console.log("EDITOR STATE IS HERE")
36-
console.log(editorState)
3735
const compMap: (GridItemComp | HookComp | InstanceType<typeof TemporaryStateItemComp>)[] = Object.values(editorState.getAllUICompMap());
38-
console.log("COMP MAP IS HERE")
39-
console.log(compMap)
4036

4137
const steps: TourProps['steps'] = props.options.map((step) => {
4238
const targetName = step.target;

‎client/packages/lowcoder/src/comps/controls/tourStepControl.tsx‎

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -391,15 +391,11 @@ export function editorStateDropdownAbstractControl<T extends OptionsType>(
391391

392392
let TourStep = new MultiCompBuilder(
393393
{
394-
// target: TargetCompAction,
395-
target: editorStateDropdownControl((editorState) => {
396-
console.log("Is editor defined? ")
397-
console.log(editorState)
398-
return Object.values(editorState.getAllUICompMap()).map((it) => ({
399-
label: it.children.name.getView(),
400-
value: it.children.name.getView(),
401-
}))
402-
},
394+
target: editorStateDropdownControl((editorState) =>
395+
Object.values(editorState.getAllUICompMap()).map((it) => ({
396+
label: it.children.name.getView(),
397+
value: it.children.name.getView()
398+
})),
403399
""),
404400
arrow: BoolControl,
405401
title: StringControl,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /