Skip to content

Commit

Permalink
fix: reload window button not working (#1561)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaspardruan authored Mar 16, 2024
1 parent d577648 commit 23eb6a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/renderer/components/settings-general-font.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class FontSettings extends React.Component<
}
/>
<Button
onClick={window.ElectronFiddle.reloadWindows}
onClick={() => window.ElectronFiddle.reloadWindows()}
icon="repeat"
text="Reload Window"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ exports[`FontSettings component renders 1`] = `
/>
<Blueprint3.Button
icon="repeat"
onClick={[MockFunction]}
onClick={[Function]}
text="Reload Window"
/>
</Blueprint3.FormGroup>
Expand Down

0 comments on commit 23eb6a7

Please sign in to comment.