Skip to content

Commit 551b252

Browse files
committed
fix: useLocalStorage 절대경로 문제 해결
1 parent 34dac06 commit 551b252

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rapiders/react-hooks",
3-
"version": "1.2.7",
3+
"version": "1.2.8",
44
"description": "react hooks for fast development",
55
"main": "dist/esm/index.js",
66
"types": "dist/esm/index.d.ts",

src/useLocalStorage/useLocalStorage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useEffect, useState } from 'react';
2-
import { isServer } from '@/utils/isServer';
2+
import { isServer } from '../utils/isServer';
33

44
interface UseLocalStorageOptions<T> {
55
serializer?: (value: T) => string;

0 commit comments

Comments
 (0)