Skip to content

Commit

Permalink
review: remove brackets from function prop in CheatsheetProps
Browse files Browse the repository at this point in the history
Co-authored-by: Đorđe Spasić <34274884+Djo1e@users.noreply.github.com>
  • Loading branch information
theborakompanioni and Djo1e committed Apr 10, 2022
1 parent e1e94fd commit 524848a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export default function App() {
</div>
<div className="d-flex order-1 flex-1 flex-grow-0 flex-column flex-sm-row justify-content-center align-items-center pt-2 pt-sm-0 px-4">
{cheatsheetEnabled && (
<div class="order-1 order-sm-0">
<div className="order-1 order-sm-0">
<Cheatsheet show={showCheatsheet} onHide={() => setShowCheatsheet(false)} />
<rb.Nav.Item>
<rb.Button
Expand Down
2 changes: 1 addition & 1 deletion src/components/Cheatsheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Trans, useTranslation } from 'react-i18next'

interface CheatsheetProps {
show: boolean
onHide(): () => void
onHide: () => void
}

type NumberedProps = {
Expand Down

0 comments on commit 524848a

Please sign in to comment.