Skip to content

Commit

Permalink
fix: renterd react key error
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed Feb 7, 2024
1 parent cae76df commit 83ebc85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function FilesStatsMenuWarnings() {
const syncStatusEl = useMemo(() => {
if (!syncStatus.isSynced) {
return (
<div className="flex flex-col gap-1">
<div key="syncStatus" className="flex flex-col gap-1">
<Text size="12" font="mono" weight="medium" color="amber">
Uploads are disabled until renterd is synced.
</Text>
Expand All @@ -39,7 +39,7 @@ export function FilesStatsMenuWarnings() {
const autopilotNotConfiguredEl = useMemo(() => {
if (autopilotNotConfigured.active) {
return (
<div className="flex flex-col gap-1">
<div key="autopilotNotConfigured" className="flex flex-col gap-1">
<Text size="12" font="mono" weight="medium" color="amber">
Uploads are disabled until settings are configured.
</Text>
Expand All @@ -58,7 +58,7 @@ export function FilesStatsMenuWarnings() {
const notEnoughContractsEl = useMemo(() => {
if (notEnoughContracts.active) {
return (
<div className="flex flex-col gap-1">
<div key="notEnoughContracts" className="flex flex-col gap-1">
<Text size="12" font="mono" weight="medium" color="amber">
Uploads are disabled until settings are configured.
</Text>
Expand All @@ -76,7 +76,7 @@ export function FilesStatsMenuWarnings() {
const contractSetMismatchEl = useMemo(() => {
if (contractSetMismatch.active) {
return (
<div className="flex flex-col gap-1">
<div key="contractSetMismatch" className="flex flex-col gap-1">
<Text size="12" font="mono" weight="medium" color="amber">
Uploaded data will not be managed by autopilot.
</Text>
Expand Down
1 change: 0 additions & 1 deletion apps/renterd/contexts/keys/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ function useKeysMain() {
if (!response.data) {
return null
}
console.log(response.data?.v4Keypairs)
const data: KeyData[] =
Object.entries(response.data?.v4Keypairs || {}).map(([key, secret]) => {
return {
Expand Down

0 comments on commit 83ebc85

Please sign in to comment.