diff --git a/package.json b/package.json index e507480..9a06447 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "scripts": { "lint": "eslint pkg/**/*.\\{ts,js\\} test/**/*.\\{ts,js\\} --ignore-pattern **/*.config.ts", - "fmt": "eslint --fix pkg/**/*.\\{ts,js\\} test/**/*.\\{ts,js\\} --ignore-pattern **/*.config.ts", + "fmt": "eslint --fix pkg/**/*.\\{ts,js\\} test/**/*.\\{ts,js\\} storage/**/*.\\{ts,js,tsx\\} --ignore-pattern **/*.config.ts", "build-contracts": "forge build --root contracts", "build-tpodserver": "docker build -t comradecoop/apocryph/server:latest . --target server", "build-p2p-helper": "docker build -t comradecoop/apocryph/p2p-helper:latest . --target p2p-helper", diff --git a/storage/frontend/src/ActionPopButton.tsx b/storage/frontend/src/ActionPopButton.tsx index 7b941d9..dbe66f2 100644 --- a/storage/frontend/src/ActionPopButton.tsx +++ b/storage/frontend/src/ActionPopButton.tsx @@ -1,11 +1,11 @@ -import { useState } from 'react' +import { ReactNode, useState } from 'react' import './ActionPopButton.css' interface ActionPopButton { className?: string, - children: any, - onClick: () => any, - popText?: any, + children: ReactNode, + onClick: () => unknown, + popText?: string, disabled?: boolean, } @@ -15,11 +15,11 @@ function ActionPopButton(props: ActionPopButton) { return (