Fix various typos

This commit is contained in:
Bogdan
2025-06-10 18:36:14 +03:00
parent aea8b7cd7e
commit 4924b45b56
18 changed files with 27 additions and 27 deletions
@@ -2,9 +2,9 @@ import { createSelector } from 'reselect';
import { findCommand } from 'Utilities/Command';
import createCommandsSelector from './createCommandsSelector';
function createCommandSelector(name: string, contraints = {}) {
function createCommandSelector(name: string, constraints = {}) {
return createSelector(createCommandsSelector(), (commands) => {
return findCommand(commands, { name, ...contraints });
return findCommand(commands, { name, ...constraints });
});
}