mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
Make the linter happy.
This commit is contained in:
@@ -29,7 +29,7 @@ export function OnboardingModal({ onClose, callback }: Props) {
|
||||
setLoading(true);
|
||||
callback(username, true)
|
||||
.then(() => onClose())
|
||||
.catch((err: any) => {
|
||||
.catch((err: unknown) => {
|
||||
setError(takeError(err));
|
||||
setLoading(false);
|
||||
});
|
||||
|
||||
@@ -238,7 +238,7 @@ export const SpecialPromptModal = observer((props: SpecialProps) => {
|
||||
.then((code) => setCode(code))
|
||||
.catch((err) => setError(takeError(err)))
|
||||
.finally(() => setProcessing(false));
|
||||
}, []);
|
||||
}, [props.target]);
|
||||
|
||||
return (
|
||||
<PromptModal
|
||||
|
||||
Reference in New Issue
Block a user