Skip to content

Commit

Permalink
bumped pkg version anf fixed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
atybdot committed Oct 30, 2024
1 parent efb74ae commit 1a1afab
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "app-comment",
"version": "0.0.2",
"version": "0.0.21",
"description": "seamlessly integrate a comment section into your React or Astro project",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
6 changes: 3 additions & 3 deletions src/components/AuthForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { forwardRef, useEffect, useState } from "react"
import { useForm } from "react-hook-form"
import toast from "react-hot-toast"

import { emailLogin, emailSignup, getUser } from "/src/lib/appwrite"
import useComment from "/src/store/commentContext"
import { Loading, onInvalid, onSucess } from "/src/utils/utils"
import { emailLogin, emailSignup, getUser } from "../lib/appwrite"
import useComment from "../store/commentContext"
import { Loading, onInvalid, onSucess } from "../utils/utils"
import CustomToast from "./CustomToast"

const SignupForm = () => {
Expand Down
4 changes: 2 additions & 2 deletions src/components/Comment.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Check, Edit2, Trash2, X } from "lucide-react"
import { useState } from "react"
import { useForm } from "react-hook-form"
import { deleteComment, updateComment } from "/src/lib/appwrite"
import { CreationDate, Loading, onInvalid, onSucess } from "/src/utils/utils"
import { deleteComment, updateComment } from "../lib/appwrite"
import { CreationDate, Loading, onInvalid, onSucess } from "../utils/utils"

import useComment from "../store/commentContext"

Expand Down
6 changes: 3 additions & 3 deletions src/components/CommentSection.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { useEffect } from "react"
import { Suspense } from "react"
import { useState } from "react"
import { commentDB, getUser, logoutUser } from "/src/lib/appwrite"
import { CommentProvider } from "/src/store/commentContext"
import { onInvalid, onSucess } from "/src/utils/utils"
import { commentDB, getUser, logoutUser } from "../lib/appwrite"
import { CommentProvider } from "../store/commentContext"
import { onInvalid, onSucess } from "../utils/utils"
import Comment from "./Comment"
import CustomToast from "./CustomToast"
import PostComment from "./PostComment"
Expand Down

0 comments on commit 1a1afab

Please sign in to comment.