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:
parent
525399049a
commit
d419cf96a9
4 changed files with 0 additions and 5 deletions
|
@ -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}`;
|
||||||
|
|
|
@ -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 }));
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -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({
|
||||||
|
|
|
@ -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 });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue