diff --git a/resources/public/index.html b/resources/public/index.html index cb5f523..f3eed62 100644 --- a/resources/public/index.html +++ b/resources/public/index.html @@ -1,4 +1,4 @@ - + diff --git a/resources/src/Data.tsx b/resources/src/Data.tsx index 6138a76..e85c102 100644 --- a/resources/src/Data.tsx +++ b/resources/src/Data.tsx @@ -59,7 +59,7 @@ const DataFetcher = (props: PropsWithChildren<{ error: ReactElement; loading: Re (error) => { setError(error.toString()) setIsLoaded(true) - } + }, ) }, []) // [] = only run on component mount diff --git a/resources/src/IconActionJump.tsx b/resources/src/IconActionJump.tsx index 6a32862..44321cd 100644 --- a/resources/src/IconActionJump.tsx +++ b/resources/src/IconActionJump.tsx @@ -10,7 +10,7 @@ const IconActionJump = (props: { side?: boolean }) => { content.push( Jump to - + , ) if (data?.entries) { @@ -19,7 +19,7 @@ const IconActionJump = (props: { side?: boolean }) => { {os} - )) + )), ) } diff --git a/resources/src/index.tsx b/resources/src/index.tsx index d4d33be..7cc354e 100644 --- a/resources/src/index.tsx +++ b/resources/src/index.tsx @@ -11,5 +11,5 @@ ReactDOM.render( , - document.querySelector('#root') + document.querySelector('#root'), ) diff --git a/resources/src/useEscClose.tsx b/resources/src/useEscClose.tsx index 6184d70..009b8d7 100644 --- a/resources/src/useEscClose.tsx +++ b/resources/src/useEscClose.tsx @@ -7,7 +7,7 @@ function useEscClose(visible: boolean, setVisible: (value: boolean) => void) { ? () => { setVisible(false) } - : undefined + : undefined, ) } diff --git a/resources/src/useKeyPress.tsx b/resources/src/useKeyPress.tsx index 78520f2..59c0002 100644 --- a/resources/src/useKeyPress.tsx +++ b/resources/src/useKeyPress.tsx @@ -10,7 +10,7 @@ function useKeyPress(targetKey: string, onPressed?: () => void) { onPressed() } }, - [targetKey, onPressed] + [targetKey, onPressed], ) useEffect(() => {