Skip to content

Commit 9f0712c

Browse files
committed
fixing interfaces and appstateslice
1 parent b3085de commit 9f0712c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/src/helperFunctions/manageSeparators.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ const manageSeparators: ManageSeparators = {
6969
}
7070
}
7171
return manageSeparators.nextTopSeparatorId;
72+
7273
},
7374

7475
// this function replaces separators onto which an element is dropped with the element itself

app/src/interfaces/Interfaces.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export interface Component {
4646
useStateCodes: string[];
4747
useContext?: object;
4848
passedInProps: StateProp[];
49+
stateUsed?: object;
4950
}
5051
export interface StateProp {
5152
id: string;
@@ -106,7 +107,7 @@ export interface AddRoutes {
106107
}
107108

108109
export interface ManageSeparators {
109-
mergeSeparator: (arg1:[], arg2:number) => void;
110-
handleSeparators: (arg1: [], arg2?: string) => void;
110+
mergeSeparator: (arg1:[], arg2:number) => void; // fix the void
111+
handleSeparators: (arg1: [], arg2?: string) => void; // fix the void
111112
nextTopSeparatorId: number
112113
}

0 commit comments

Comments
 (0)