mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-12 23:24:35 +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'),
|
||||
checkboxLabel: await translate('main.gc_enable')
|
||||
})
|
||||
|
||||
console.log(this.state)
|
||||
}
|
||||
|
||||
async toggleGrasscutter() {
|
||||
|
||||
@@ -39,8 +39,6 @@ export default class DirInput extends React.Component<IProps, IState> {
|
||||
value: path
|
||||
})
|
||||
|
||||
console.log(this.state)
|
||||
|
||||
if (this.props.onChange) this.props.onChange(path)
|
||||
}
|
||||
|
||||
|
||||
@@ -63,8 +63,6 @@ export default class Tr extends React.Component<IProps, IState> {
|
||||
export async function translate(text: string) {
|
||||
const language = await getConfigOption('language') || 'en'
|
||||
const translation_json = JSON.parse(await invoke('get_lang', { lang: language }) || '{}')
|
||||
|
||||
console.log(translation_json)
|
||||
|
||||
// Traversal
|
||||
if (text.includes('.')) {
|
||||
|
||||
Reference in New Issue
Block a user