Skip to content

Commit 39b6e7c

Browse files
author
리니_이경린
committed
fix: 디버깅 메세지 화면 추가
1 parent 9db1973 commit 39b6e7c

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

src/components/provider/AppBridgeProvider/AppBridgeProvider.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ export function AppBridgeProvider({ children }: AppBridgeProviderProps) {
5656
try {
5757
const data = JSON.parse(jsonData);
5858
setGenerateReviewData(data.result);
59-
alert("디버깅 메시지: " + JSON.stringify(data.result));
6059
} catch (error) {
6160
console.error("Invalid JSON data for generated review:", error);
6261
}

src/pages/HomePage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ const SHARE_TEXT =
99

1010
const HomePage = () => {
1111
const { send } = useAppBridge();
12-
alert("디버깅 메시지: 홈 " + JSON.stringify(SHARE_TEXT));
1312

1413
return (
1514
<>

src/pages/LoadingPage/LoadingPage.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,17 @@ const LoadingPage = () => {
3939
최대 30초까지 소요될 수 있어요
4040
</Text>
4141
</div>
42+
<div
43+
style={{
44+
padding: "20px",
45+
backgroundColor: "#f8f9fa",
46+
borderRadius: "8px",
47+
marginTop: "20px",
48+
}}
49+
>
50+
<h3>🔍 디버깅용 데이터</h3>
51+
<pre>{JSON.stringify(generateReviewData, null, 2)}</pre>
52+
</div>
4253

4354
<div className={styles.Image}>
4455
<img src="/assets/img/img-loading.webp" alt="createReviewImg" />

0 commit comments

Comments
 (0)