remove some testing code accidentally committed

This commit is contained in:
Alex Holliday committed 2024-10-25 09:58:11 +08:00
1 parent 3275bc49d0
commit 5d9b8bf051
3 files changed
-17

No files matched your search

-15
View File
@@ -66,21 +66,6 @@ function App() {
};
}, []);
useEffect(() => {
const thing = async () => {
const action = await dispatch(
updateAppSettings({ authToken, settings: { apiBaseUrl: "test" } })
);
if (action.payload.success) {
console.log(action.payload.data);
} else {
console.log(action);
}
};
thing();
}, [dispatch, authToken]);
return (
<ThemeProvider theme={mode === "light" ? lightTheme : darkTheme}>
<CssBaseline />