@@ -24,7 +24,7 @@ import {
2424 ToolbarSeparator ,
2525} from "@/components/gui/toolbar" ;
2626import { StudioExtensionManager } from "@/core/extension-manager" ;
27- import { createStandardExtensions } from "@/core/standard-extension" ;
27+ import { createSQLiteExtensions } from "@/core/standard-extension" ;
2828
2929const SQLITE_FILE_EXTENSIONS =
3030 ".db,.sdb,.sqlite,.db3,.s3db,.sqlite3,.sl3,.db2,.s2db,.sqlite2,.sl2" ;
@@ -249,15 +249,15 @@ export default function PlaygroundEditorBody({
249249 } , [ driver , fileName , handler , nativeDriver ] ) ;
250250
251251 const extensions = useMemo ( ( ) => {
252- return new StudioExtensionManager ( createStandardExtensions ( ) ) ;
252+ return new StudioExtensionManager ( createSQLiteExtensions ( ) ) ;
253253 } , [ ] ) ;
254254
255255 const dom = useMemo ( ( ) => {
256256 if ( databaseLoading ) {
257257 return (
258258 < div className = "p-4" >
259- < LucideLoader className = "w-12 h-12 animate-spin mb-2 " />
260- < h1 className = "text-2xl font-bold mb-2 " > Loading Database</ h1 >
259+ < LucideLoader className = "mb-2 h-12 w-12 animate-spin " />
260+ < h1 className = "mb-2 text-2xl font-bold" > Loading Database</ h1 >
261261 < p >
262262 Please wait. We are downloading:
263263 < br />
@@ -286,12 +286,12 @@ export default function PlaygroundEditorBody({
286286 < >
287287 < Script src = "/sqljs/sql-wasm.js" onReady = { onReady } />
288288 < ScreenDropZone onFileDrop = { onFileDrop } />
289- < div className = "w-screen h-screen flex flex-col" >
289+ < div className = "flex h-screen w-screen flex-col" >
290290 < div className = "border-b p-1" >
291291 < Toolbar >
292292 { fileName && (
293- < div className = "text-xs rounded bg-yellow-300 text-black flex gap-1 items-center p-2 " >
294- < LucideFile className = "w -4 h -4" />
293+ < div className = "flex items-center gap-1 rounded bg-yellow-300 p-2 text-xs text-black " >
294+ < LucideFile className = "h -4 w -4" />
295295 < span >
296296 Editing < strong > { fileName } </ strong >
297297 </ span >
@@ -302,22 +302,22 @@ export default function PlaygroundEditorBody({
302302 < ToolbarButton
303303 text = "Save"
304304 onClick = { onSaveClicked }
305- icon = { < Save className = "w -4 h -4" /> }
305+ icon = { < Save className = "h -4 w -4" /> }
306306 />
307307 ) }
308308
309309 < ToolbarButton
310310 text = "Open"
311311 onClick = { onOpenClicked }
312- icon = { < FolderOpenIcon className = "w -4 h -4" /> }
312+ icon = { < FolderOpenIcon className = "h -4 w -4" /> }
313313 />
314314
315315 { handler && (
316316 < >
317317 < ToolbarSeparator />
318318 < ToolbarButton
319319 text = "Refresh"
320- icon = { < RefreshCcw className = "w -4 h -4" /> }
320+ icon = { < RefreshCcw className = "h -4 w -4" /> }
321321 onClick = { onReloadDatabase }
322322 />
323323 </ >
0 commit comments