Skip to content

Commit 3fb9a84

Browse files
authored
tweak eula page reloading (#31)
1 parent 13220d3 commit 3fb9a84

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

web-conexs-client/src/components/WelcomePage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export default function WelcomePage() {
7575
<NavButton
7676
label="Crystals"
7777
path={"/crystals"}
78-
icon={<GrainIcon sx={{ width: "5em", height: "5em" }} />}
78+
icon={<GrainIcon sx={{ width: "4em", height: "4em" }} />}
7979
reload={false}
8080
></NavButton>
8181
</Stack>

web-conexs-client/src/components/orca/OrcaEulaPage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ export default function OrcaEulaPage() {
2727
// Invalidate and refetch
2828
queryClient.invalidateQueries({ queryKey: ["user"] });
2929
navigate("/orca");
30+
navigate(0);
3031
},
3132
});
3233

web-conexs-client/src/main.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import "./index.css";
44
import { BrowserRouter } from "react-router-dom";
55
import App from "./App.tsx";
66

7-
import axios from "axios";
7+
//import axios from "axios";
88

99
async function enableMocking() {
10-
axios.defaults.headers.common["Authorization"] = "Bearer test_user";
10+
//axios.defaults.headers.common["Authorization"] = "Bearer test_user4";
1111
return;
1212
// if (process.env.NODE_ENV !== "development") {
1313
// return;

0 commit comments

Comments
 (0)