diff --git a/index.js b/index.js index 1731de1..062bbf3 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ 'use strict'; const importJsx = require('import-jsx'); process.env.FORCE_COLOR = '1'; -importJsx('./moveTheSherrif'); \ No newline at end of file +importJsx('./moveTheSheriff'); \ No newline at end of file diff --git a/moveTheSherrif.js b/moveTheSheriff.js similarity index 93% rename from moveTheSherrif.js rename to moveTheSheriff.js index 90a81ab..b3863f3 100644 --- a/moveTheSherrif.js +++ b/moveTheSheriff.js @@ -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) @@ -58,4 +58,4 @@ const MoveTheSherrif = () => { ) } -render(); +render();