Skip to content

Commit

Permalink
sherrif -> sheriff
Browse files Browse the repository at this point in the history
  • Loading branch information
Ridwan Hoq committed Mar 28, 2020
1 parent 67bdc14 commit b9341e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use strict';
const importJsx = require('import-jsx');
process.env.FORCE_COLOR = '1';
importJsx('./moveTheSherrif');
importJsx('./moveTheSheriff');
6 changes: 3 additions & 3 deletions moveTheSherrif.js → moveTheSheriff.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ const BigText = require('ink-big-text');
const useStdoutDimensions = require('ink-use-stdout-dimensions');

/**
* Move the Sherrif
* Move the Sheriff
*/
const MoveTheSherrif = () => {
const MoveTheSheriff = () => {
const [ windowX, windowY ] = useStdoutDimensions();
const [x, setX] = React.useState(windowX / 2)
const [y, setY] = React.useState((windowY - 20) / 2)
Expand Down Expand Up @@ -58,4 +58,4 @@ const MoveTheSherrif = () => {
)
}

render(<MoveTheSherrif/>);
render(<MoveTheSheriff/>);

0 comments on commit b9341e9

Please sign in to comment.