@@ -30,9 +38,10 @@ class Test extends React.Component
{
+
)
}
}
-export default Test
\ No newline at end of file
+export default Debug
\ No newline at end of file
diff --git a/src/ui/components/ServerLaunchSection.css b/src/ui/components/ServerLaunchSection.css
index 80351e2..18c19a4 100644
--- a/src/ui/components/ServerLaunchSection.css
+++ b/src/ui/components/ServerLaunchSection.css
@@ -19,7 +19,7 @@
#playButton .BigButton {
height: 100%;
- box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.2);
+ box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.2);
}
#serverControls {
@@ -39,7 +39,7 @@
#serverControls .CheckboxDisplay {
margin-right: 6px;
- box-shadow: 0px 0px 5px 4px rgba(0, 0, 0, 0.2);
+ box-shadow: 0 0 5px 4px rgba(0, 0, 0, 0.2);
}
#serverControls .Checkbox label {
@@ -80,7 +80,7 @@
border-radius: 6px;
height: 18px;
- box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.2);
+ box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.2);
}
.ServerConfig .TextInputWrapper {
diff --git a/src/utils/themes.ts b/src/utils/themes.ts
index e0c3309..24f9d44 100644
--- a/src/utils/themes.ts
+++ b/src/utils/themes.ts
@@ -39,7 +39,7 @@ const defaultTheme = {
export async function getThemeList() {
// Do some invoke to backend to get the theme list
const themes = await invoke('get_theme_list', {
- dataDir: `${await dataDir()}/cultivation`
+ data_dir: `${await dataDir()}/cultivation`
}) as BackendThemeList[]
const list: ThemeList[] = [
// ALWAYS include default theme