Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 1, 2024
1 parent 7f95eaf commit 4352274
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/renderer/src/stories/pages/settings/SettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ export class SettingsPage extends Page {
};

generateTestData = async () => {

await run(
"generate",
{
Expand Down Expand Up @@ -175,8 +174,8 @@ export class SettingsPage extends Page {

this.notify(`Test dataset successfully generated at ${output_path}!`);

return output_path
}
return output_path;
};

beforeSave = async () => {
const { resolved } = this.form;
Expand Down Expand Up @@ -251,7 +250,7 @@ export class SettingsPage extends Page {
: new Button({
label: "Generate Test Dataset",
onClick: async () => {
const output_path = await this.generateTestData()
const output_path = await this.generateTestData();
if (shell) shell.showItemInFolder(output_path);
this.requestUpdate();
},
Expand Down

0 comments on commit 4352274

Please sign in to comment.