Skip to content

Commit b2339e2

Browse files
yeskyu12josworks27
andauthored
refactor: add submodules to initParams (#56)
* refactor: add submodules to init params * build: packagae.json version 변경 --------- Co-authored-by: Seongcheol Jo <josworks27@gmail.com>
1 parent 1cce8d1 commit b2339e2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@r2don/react-naver-map",
3-
"version": "0.0.17",
3+
"version": "0.0.18",
44
"author": {
55
"name": "r2don",
66
"email": "leejj2002@naver.com"

src/hooks/useNaverMapInit/utils/createNaverMapScriptByClientId.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const createNaverMapScriptByClientId = ({
1414

1515
script.id = SCRIPT_ID;
1616
script.type = "text/javascript";
17-
script.src = `https://oapi.map.naver.com/openapi/v3/maps.js?ncpClientId=${ncpClientId}`;
17+
script.src = `https://oapi.map.naver.com/openapi/v3/maps.js?${paramsString}`;
1818

1919
return script;
2020
};

0 commit comments

Comments
 (0)