Skip to content

Commit 7dbdbcf

Browse files
committed
format
1 parent df8598f commit 7dbdbcf

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/spreadsheet.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -127,21 +127,21 @@ async function setupUniver(container: HTMLElement) {
127127
},
128128
});
129129

130-
univer.registerPlugin((await render_engine));
130+
univer.registerPlugin(await render_engine);
131131
container.className = "sqlpage_spreadsheet";
132-
univer.registerPlugin((await ui_plugin), { container });
133-
univer.registerPlugin((await sheets_plugin));
134-
univer.registerPlugin((await sheets_ui_plugin));
135-
univer.registerPlugin((await docs_plugin));
136-
univer.registerPlugin((await docs_ui_plugin));
132+
univer.registerPlugin(await ui_plugin, { container });
133+
univer.registerPlugin(await sheets_plugin);
134+
univer.registerPlugin(await sheets_ui_plugin);
135+
univer.registerPlugin(await docs_plugin);
136+
univer.registerPlugin(await docs_ui_plugin);
137137

138138
return univer;
139139
}
140140

141141
async function loadOptionalPlugins(univer: Univer) {
142-
univer.registerPlugin((await engine_formula));
143-
univer.registerPlugin((await sheets_numfmt));
144-
univer.registerPlugin((await sheets_formula));
142+
univer.registerPlugin(await engine_formula);
143+
univer.registerPlugin(await sheets_numfmt);
144+
univer.registerPlugin(await sheets_formula);
145145
}
146146

147147
function setupErrorModal(resp_modal: HTMLElement) {

0 commit comments

Comments
 (0)