summaryrefslogtreecommitdiff
path: root/src/core/utils/auth.js
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-02-22 11:03:34 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-02-22 11:03:34 +0700
commitf66b12fd1d0b83af0d7230d7b1565fbe00afbe3c (patch)
tree253dcf854a3c92e09ca846e86a09e5b4c5d16be1 /src/core/utils/auth.js
parent3c559031623649a67825ff47f34512f0eb946861 (diff)
prettier
Diffstat (limited to 'src/core/utils/auth.js')
-rw-r--r--src/core/utils/auth.js12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/core/utils/auth.js b/src/core/utils/auth.js
index 6aeba02b..13e0e79d 100644
--- a/src/core/utils/auth.js
+++ b/src/core/utils/auth.js
@@ -1,8 +1,4 @@
-import {
- deleteCookie,
- getCookie,
- setCookie
-} from 'cookies-next'
+import { deleteCookie, getCookie, setCookie } from 'cookies-next'
const getAuth = () => {
let auth = getCookie('auth')
@@ -22,8 +18,4 @@ const deleteAuth = () => {
return true
}
-export {
- getAuth,
- setAuth,
- deleteAuth
-} \ No newline at end of file
+export { getAuth, setAuth, deleteAuth }