Skip to content

Commit

Permalink
fix: 문서 배포 오류 수정 (#199)
Browse files Browse the repository at this point in the history
* fix: Demo 컴포넌트명 변경

* chore: changeset 추가

* chore: changeset 수정
  • Loading branch information
kangju2000 committed Jul 30, 2024
1 parent e6142b0 commit 5fa97f8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/old-mayflies-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'docs': patch
---

docs: 문서 배포 오류를 해결합니다.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React, { useState } from 'react';
import { chosungIncludes } from 'es-hangul';
import { choseongIncludes } from 'es-hangul';

export function ChosungIncludesDemo() {
export function ChoseongIncludesDemo() {
const [searchWord, setSearchWord] = useState<string>('홍길동');
const [userInput, setUserInput] = useState<string>('ㅎㄱㄷ');

const result = chosungIncludes(searchWord, userInput);
const result = choseongIncludes(searchWord, userInput);

return (
<div className="bg-gray-200 dark:bg-gray-800 rounded-lg shadow-md p-6 max-w-md mx-auto my-8">
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/docs/api/choseongIncludes.en.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ChoseongIncludesDemo } from '@/components/demo/chosung-includes-demo';
import { ChoseongIncludesDemo } from '@/components/demo/choseong-includes-demo';

# choseongIncludes

Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/docs/api/chosungIncludes.en.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ChosungIncludesDemo } from '@/components/demo/chosung-includes-demo';
import { ChoseongIncludesDemo } from '@/components/demo/choseong-includes-demo';

# chosungIncludes (deprecated, Please use choseongIncludes)

Expand All @@ -24,4 +24,4 @@ chosungIncludes('프론트엔드', '푸롴트'); // false

<br />

<ChosungIncludesDemo />
<ChoseongIncludesDemo />
4 changes: 2 additions & 2 deletions docs/src/pages/docs/api/chosungIncludes.ko.mdx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ChosungIncludesDemo } from '@/components/demo/chosung-includes-demo';
import { ChoseongIncludesDemo } from '@/components/demo/choseong-includes-demo';

# chosungIncludes (deprecated, choseongIncludes를 사용해주세요)

Expand All @@ -24,4 +24,4 @@ chosungIncludes('프론트엔드', '푸롴트'); // false

<br />

<ChosungIncludesDemo />
<ChoseongIncludesDemo />

0 comments on commit 5fa97f8

Please sign in to comment.