From 8fed7670d4bb4c96c87a3655441189270b43a4c0 Mon Sep 17 00:00:00 2001 From: Amogh-Bharadwaj Date: Wed, 8 May 2024 18:21:18 +0530 Subject: [PATCH] formatting --- ui/app/peers/create/[peerType]/helpers/ch.ts | 2 +- ui/components/PeerForms/ClickhouseConfig.tsx | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ui/app/peers/create/[peerType]/helpers/ch.ts b/ui/app/peers/create/[peerType]/helpers/ch.ts index bfbd199eef..09626d73c0 100644 --- a/ui/app/peers/create/[peerType]/helpers/ch.ts +++ b/ui/app/peers/create/[peerType]/helpers/ch.ts @@ -52,7 +52,7 @@ export const clickhouseSetting: PeerSetting[] = [ stateHandler: (value, setter) => setter((curr) => ({ ...curr, s3Path: value as string })), tips: `This is an S3 bucket/object URL field. This bucket will be used as our intermediate stage for CDC`, - placeholder:'s3://', + placeholder: 's3://', }, { label: 'Access Key ID', diff --git a/ui/components/PeerForms/ClickhouseConfig.tsx b/ui/components/PeerForms/ClickhouseConfig.tsx index 8f85118520..405dd9af77 100644 --- a/ui/components/PeerForms/ClickhouseConfig.tsx +++ b/ui/components/PeerForms/ClickhouseConfig.tsx @@ -8,9 +8,9 @@ import { RowWithSwitch, RowWithTextField } from '@/lib/Layout'; import { Switch } from '@/lib/Switch'; import { TextField } from '@/lib/TextField'; import { Tooltip } from '@/lib/Tooltip'; +import Link from 'next/link'; import { useState } from 'react'; import { InfoPopover } from '../InfoPopover'; -import Link from 'next/link'; interface ConfigProps { settings: PeerSetting[]; setter: PeerSetter; @@ -124,7 +124,11 @@ export default function ClickhouseForm({ settings, setter }: ConfigProps) { If you want this stage to belong to you, you can configure a bucket below.

- + Setting up an S3 bucket