diff --git a/src/@utils/oceanWaves.ts b/src/@utils/oceanWaves.ts index a7e6df58f..7c37cfdd0 100644 --- a/src/@utils/oceanWaves.ts +++ b/src/@utils/oceanWaves.ts @@ -10,7 +10,6 @@ export function renderStaticWaves(): string { const svg = d3.create('svg') const width = 1000 const height = 250 - console.log(height) const x = d3.scaleLinear().range([0, width]) const angles = d3.range(Math.random(), 4 * Math.PI, Math.PI / 20) diff --git a/src/components/Publish/Actions/index.tsx b/src/components/Publish/Actions/index.tsx index d24b164e5..311b7a494 100644 --- a/src/components/Publish/Actions/index.tsx +++ b/src/components/Publish/Actions/index.tsx @@ -21,21 +21,23 @@ export default function Actions({ function handleNext(e: FormEvent) { e.preventDefault() - setFieldValue('stepCurrent', values.stepCurrent + 1) + setFieldValue('stepCurrent', values.user.stepCurrent + 1) scrollToRef.current.scrollIntoView() } function handlePrevious(e: FormEvent) { e.preventDefault() - setFieldValue('stepCurrent', values.stepCurrent - 1) + setFieldValue('stepCurrent', values.user.stepCurrent - 1) scrollToRef.current.scrollIntoView() } return (