mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2026-02-06 02:06:29 +01:00
remove logging
This commit is contained in:
@@ -39,8 +39,6 @@ export default class ServerLaunchSection extends React.Component<IProps, IState>
|
|||||||
buttonLabel: await translate('main.launch_button'),
|
buttonLabel: await translate('main.launch_button'),
|
||||||
checkboxLabel: await translate('main.gc_enable')
|
checkboxLabel: await translate('main.gc_enable')
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(this.state)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async toggleGrasscutter() {
|
async toggleGrasscutter() {
|
||||||
|
|||||||
@@ -39,8 +39,6 @@ export default class DirInput extends React.Component<IProps, IState> {
|
|||||||
value: path
|
value: path
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(this.state)
|
|
||||||
|
|
||||||
if (this.props.onChange) this.props.onChange(path)
|
if (this.props.onChange) this.props.onChange(path)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -64,8 +64,6 @@ export async function translate(text: string) {
|
|||||||
const language = await getConfigOption('language') || 'en'
|
const language = await getConfigOption('language') || 'en'
|
||||||
const translation_json = JSON.parse(await invoke('get_lang', { lang: language }) || '{}')
|
const translation_json = JSON.parse(await invoke('get_lang', { lang: language }) || '{}')
|
||||||
|
|
||||||
console.log(translation_json)
|
|
||||||
|
|
||||||
// Traversal
|
// Traversal
|
||||||
if (text.includes('.')) {
|
if (text.includes('.')) {
|
||||||
const keys = text.split('.')
|
const keys = text.split('.')
|
||||||
|
|||||||
Reference in New Issue
Block a user