debug
This commit is contained in:
parent
955757ad0b
commit
0d39726eb9
|
@ -246,12 +246,15 @@ class App extends Component<RouteComponentProps, State> {
|
|||
this.handlePowerSearch();
|
||||
});
|
||||
Mousetrap.bind(["ctrl+s", "command+s"], (e) => {
|
||||
console.log("hit ctrl+s");
|
||||
if (this.state.user?.level === "basic") return;
|
||||
e.preventDefault();
|
||||
if (!this.state.isolatedEntry) return;
|
||||
const toAdd = {
|
||||
entry: this.state.isolatedEntry,
|
||||
notes: "",
|
||||
};
|
||||
console.log("Adding this to wordlist", toAdd);
|
||||
addToWordlist(toAdd);
|
||||
});
|
||||
Mousetrap.bind(["ctrl+\\", "command+\\"], (e) => {
|
||||
|
|
|
@ -177,7 +177,7 @@ function OptionsScreen({
|
|||
</tr>
|
||||
<tr>
|
||||
<td><kbd>ctrl / ⌘</kbd> + <kbd>s</kbd></td>
|
||||
<td>add word to wordlist <i className="fas fa-star fa-lg" /></td>
|
||||
<td>add word to wordlist <i className="far fa-star" /></td>
|
||||
</tr>
|
||||
</>}
|
||||
<tr>
|
||||
|
|
Loading…
Reference in New Issue