mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-23 09:04:26 +01:00
fix some lints
This commit is contained in:
@@ -123,7 +123,7 @@ export const NiceP: ParentComponent = (props) => {
|
||||
|
||||
export const TinyButton: ParentComponent<{ onClick: () => void }> = (props) => {
|
||||
return (
|
||||
<button class="py-1 px-2 rounded-lg bg-white/10" onClick={props.onClick}>
|
||||
<button class="py-1 px-2 rounded-lg bg-white/10" onClick={() => props.onClick()}>
|
||||
{props.children}
|
||||
</button>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user