Remove console log and fix availabilities component

This commit is contained in:
Arnaud 2024-08-29 19:44:29 +02:00
parent 9214a35369
commit 92216453f4
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
5 changed files with 2 additions and 8 deletions

View File

@ -34,8 +34,6 @@ export function CodexUrlSettings() {
stroke="var(--codex-background-light)"></CircleCheck>
);
console.info({ url });
return (
<>
<Input

View File

@ -25,7 +25,6 @@ export function FileCell({ requestId, purchaseCid }: Props) {
FilesStorage.get<FileMetadata>(cid).then((data) => {
if (data) {
console.info("data", data);
setMetadata(data);
}
});

View File

@ -57,7 +57,6 @@ export function StorageRequestStepper({ className, open, onClose }: Props) {
let requestId = data.data;
if (!requestId.startsWith("0x")) {
console.debug("No prefix detected");
requestId = "0x" + requestId;
}

View File

@ -1,7 +1,7 @@
import { createFileRoute } from "@tanstack/react-router";
export const Route = createFileRoute("/dashboard/availabilities")({
component: () => () => {
return <div>Hello /dashboard/availabilities!</div>;
component: () => {
return <div>Coming soon</div>;
},
});

View File

@ -14,8 +14,6 @@ export class CodexSdk {
.then((url) => {
this._url = url || import.meta.env.VITE_CODEX_API_URL;
this._client = new Codex(this._url);
console.info({ url: this._url });
})
.then(() => this._client);
}