1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul synced 2024-09-18 01:50:50 +00:00

fix: cleanup logs

This commit is contained in:
Ash Keel 2023-10-28 21:51:19 +02:00
parent 525399049a
commit d419cf96a9
No known key found for this signature in database
GPG key ID: 53A9E9A6035DD109
4 changed files with 0 additions and 5 deletions

View file

@ -395,7 +395,6 @@ function ReportDialog({ open, onOpenChange, errorData }: ReportDialogProps) {
style={waiting ? { opacity: 0.7 } : {}} style={waiting ? { opacity: 0.7 } : {}}
onSubmit={(e) => { onSubmit={(e) => {
e.preventDefault(); e.preventDefault();
console.log('test');
let desc = errorDesc; let desc = errorDesc;
if (contactEnabled && contactInfo) { if (contactEnabled && contactInfo) {
desc += `\n\nEmail contact: ${contactInfo}`; desc += `\n\nEmail contact: ${contactInfo}`;

View file

@ -374,7 +374,6 @@ function TwitchStreamStatus({ info }: { info: StreamInfo }) {
const { t } = useTranslation(); const { t } = useTranslation();
const [uiConfig, setUiConfig] = useModule(modules.uiConfig); const [uiConfig, setUiConfig] = useModule(modules.uiConfig);
const dispatch = useAppDispatch(); const dispatch = useAppDispatch();
console.log(uiConfig);
return ( return (
<StreamBlock> <StreamBlock>
<LiveIndicator <LiveIndicator
@ -397,7 +396,6 @@ function TwitchStreamStatus({ info }: { info: StreamInfo }) {
<RevealLink <RevealLink
value={!uiConfig.hideViewers} value={!uiConfig.hideViewers}
setter={(newVal) => { setter={(newVal) => {
console.log(newVal);
void dispatch(setUiConfig({ ...uiConfig, hideViewers: !newVal })); void dispatch(setUiConfig({ ...uiConfig, hideViewers: !newVal }));
}} }}
/> />

View file

@ -463,7 +463,6 @@ function TwitchEventsStep() {
const finishStep = async () => { const finishStep = async () => {
if ('id' in userStatus) { if ('id' in userStatus) {
console.log(authKeys);
// Set bot config to sane defaults // Set bot config to sane defaults
await dispatch( await dispatch(
setTwitchConfig({ setTwitchConfig({

View file

@ -242,7 +242,6 @@ function TwitchAPISettings() {
); );
setTestResult({ open: true }); setTestResult({ open: true });
} catch (e: unknown) { } catch (e: unknown) {
console.log(e);
setTestResult({ open: true, error: e as Error }); setTestResult({ open: true, error: e as Error });
} }
} }