mirror of
https://github.com/codex-storage/codex-marketplace-ui.git
synced 2025-02-24 05:38:18 +00:00
Remove console log and fix availabilities component
This commit is contained in:
parent
9214a35369
commit
92216453f4
@ -34,8 +34,6 @@ export function CodexUrlSettings() {
|
|||||||
stroke="var(--codex-background-light)"></CircleCheck>
|
stroke="var(--codex-background-light)"></CircleCheck>
|
||||||
);
|
);
|
||||||
|
|
||||||
console.info({ url });
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Input
|
<Input
|
||||||
|
@ -25,7 +25,6 @@ export function FileCell({ requestId, purchaseCid }: Props) {
|
|||||||
|
|
||||||
FilesStorage.get<FileMetadata>(cid).then((data) => {
|
FilesStorage.get<FileMetadata>(cid).then((data) => {
|
||||||
if (data) {
|
if (data) {
|
||||||
console.info("data", data);
|
|
||||||
setMetadata(data);
|
setMetadata(data);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -57,7 +57,6 @@ export function StorageRequestStepper({ className, open, onClose }: Props) {
|
|||||||
let requestId = data.data;
|
let requestId = data.data;
|
||||||
|
|
||||||
if (!requestId.startsWith("0x")) {
|
if (!requestId.startsWith("0x")) {
|
||||||
console.debug("No prefix detected");
|
|
||||||
requestId = "0x" + requestId;
|
requestId = "0x" + requestId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { createFileRoute } from "@tanstack/react-router";
|
import { createFileRoute } from "@tanstack/react-router";
|
||||||
|
|
||||||
export const Route = createFileRoute("/dashboard/availabilities")({
|
export const Route = createFileRoute("/dashboard/availabilities")({
|
||||||
component: () => () => {
|
component: () => {
|
||||||
return <div>Hello /dashboard/availabilities!</div>;
|
return <div>Coming soon</div>;
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
@ -14,8 +14,6 @@ export class CodexSdk {
|
|||||||
.then((url) => {
|
.then((url) => {
|
||||||
this._url = url || import.meta.env.VITE_CODEX_API_URL;
|
this._url = url || import.meta.env.VITE_CODEX_API_URL;
|
||||||
this._client = new Codex(this._url);
|
this._client = new Codex(this._url);
|
||||||
|
|
||||||
console.info({ url: this._url });
|
|
||||||
})
|
})
|
||||||
.then(() => this._client);
|
.then(() => this._client);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user