diff --git a/src/hooks/index.ts b/src/hooks/index.ts index 19a76a5..27127d3 100644 --- a/src/hooks/index.ts +++ b/src/hooks/index.ts @@ -1,2 +1,3 @@ export * from './useConsume' export * from './useMetadata' +export * from './useCompute' diff --git a/src/hooks/useCompute/ComputeOptions.tsx b/src/hooks/useCompute/ComputeOptions.ts similarity index 100% rename from src/hooks/useCompute/ComputeOptions.tsx rename to src/hooks/useCompute/ComputeOptions.ts diff --git a/src/hooks/useCompute/index.ts b/src/hooks/useCompute/index.ts index 133a43b..227cf84 100644 --- a/src/hooks/useCompute/index.ts +++ b/src/hooks/useCompute/index.ts @@ -1 +1,2 @@ export * from './useCompute' +export * from './ComputeOptions' diff --git a/src/hooks/useCompute/useCompute.ts b/src/hooks/useCompute/useCompute.ts index b025ce9..1e392be 100644 --- a/src/hooks/useCompute/useCompute.ts +++ b/src/hooks/useCompute/useCompute.ts @@ -14,7 +14,7 @@ interface UseCompute { } // TODO: customize for compute -export const feedback: { [key in number]: string } = { +export const computeFeedback: { [key in number]: string } = { 99: 'Decrypting file URL...', 0: '1/3 Asking for agreement signature...', 1: '1/3 Agreement initialized.',