From 595f33ceee89748de2ca732aba2ccea7b5781fe5 Mon Sep 17 00:00:00 2001 From: Resi Respati Date: Fri, 5 Apr 2024 10:35:33 +0700 Subject: [PATCH] resolve merge conflicts: 1st pass --- src/components/DocsFooter.tsx | 7 +- src/components/Layout/Feedback.tsx | 24 +--- src/components/Layout/Page.tsx | 8 +- src/components/Layout/TopNav/TopNav.tsx | 5 - src/components/SocialBanner.tsx | 10 +- .../learn/choosing-the-state-structure.md | 6 - src/content/learn/conditional-rendering.md | 4 - src/content/learn/describing-the-ui.md | 19 +-- src/content/learn/editor-setup.md | 4 - .../importing-and-exporting-components.md | 7 +- .../learn/manipulating-the-dom-with-refs.md | 6 +- .../learn/passing-data-deeply-with-context.md | 10 -- .../learn/preserving-and-resetting-state.md | 33 +---- .../learn/referencing-values-with-refs.md | 6 +- src/content/learn/rendering-lists.md | 18 +-- .../learn/reusing-logic-with-custom-hooks.md | 14 +- .../learn/start-a-new-react-project.md | 77 ++--------- .../learn/state-a-components-memory.md | 15 --- src/content/learn/tutorial-tic-tac-toe.md | 30 +---- .../reference/react-dom/components/common.md | 19 +-- .../reference/react-dom/components/index.md | 12 +- .../reference/react-dom/components/input.md | 6 +- .../react-dom/components/textarea.md | 29 ---- src/content/reference/react-dom/flushSync.md | 7 - src/content/reference/react-dom/hydrate.md | 6 +- .../react-dom/server/renderToNodeStream.md | 9 +- .../server/renderToPipeableStream.md | 13 +- .../server/renderToReadableStream.md | 13 +- .../react-dom/server/renderToStaticMarkup.md | 8 +- .../server/renderToStaticNodeStream.md | 5 +- .../react-dom/server/renderToString.md | 8 +- src/content/reference/react/Profiler.md | 11 +- src/content/reference/react/StrictMode.md | 4 - src/content/reference/react/forwardRef.md | 5 - src/content/reference/react/hooks.md | 80 +++++------ src/content/reference/react/index.md | 126 ------------------ .../reference/react/startTransition.md | 38 ------ 37 files changed, 103 insertions(+), 599 deletions(-) diff --git a/src/components/DocsFooter.tsx b/src/components/DocsFooter.tsx index 5296e4856..272a50470 100644 --- a/src/components/DocsFooter.tsx +++ b/src/components/DocsFooter.tsx @@ -75,13 +75,8 @@ function FooterLink({ } )}> >>>>>> 97489434323b0c4cce78588cd0f48e3808e0eba4 + displayDirection={type === 'Sebelumnya' ? 'start' : 'end'} />
diff --git a/src/components/Layout/Feedback.tsx b/src/components/Layout/Feedback.tsx index cd33962b5..bde674971 100644 --- a/src/components/Layout/Feedback.tsx +++ b/src/components/Layout/Feedback.tsx @@ -61,31 +61,20 @@ function sendGAEvent(isPositive: boolean) { function SendFeedback({onSubmit}: {onSubmit: () => void}) { const [isSubmitted, setIsSubmitted] = useState(false); return ( -<<<<<<< HEAD -
-

- {isSubmitted - ? 'Terima kasih atas masukannya!' - : 'Apakah halaman ini berguna bagi Anda?'} -

- {!isSubmitted && ( -