File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff 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
141141async 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
147147function setupErrorModal ( resp_modal : HTMLElement ) {
You can’t perform that action at this time.
0 commit comments