chore: Updates JS editor default text (#10912)
This commit is contained in:
parent
39e28f4e1b
commit
7ebaa577a3
|
|
@ -182,7 +182,7 @@ export const createDummyJSCollectionActions = (
|
|||
organizationId: string,
|
||||
) => {
|
||||
const body =
|
||||
"export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1: () => {\n\t\t//write code here\n\t},\n\tmyFun2: async () => {\n\t\t//do async stuff here or use JS promises\n\t}\n}";
|
||||
"export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1: () => {\n\t\t//write code here\n\t},\n\tmyFun2: async () => {\n\t\t//use async-await or promises\n\t}\n}";
|
||||
|
||||
const actions = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user