Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ManavJain01 committed Apr 30, 2024
1 parent 85e2fa7 commit a9a4efe
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Components/Filter/Filter.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'

// INTERNAL IMPORT
import Style from './Error.module.css'
import Style from './Filter.module.css'
import images from '@/assets'

const Filter = () => {
Expand Down
2 changes: 1 addition & 1 deletion Components/Friend/Friend.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'

// INTERNAL IMPORT
import Style from './Error.module.css'
import Style from './Friend.module.css'
import images from '@/assets'

const Friend = () => {
Expand Down
2 changes: 1 addition & 1 deletion Components/UserCard/UserCard.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'

// INTERNAL IMPORT
import Style from './Error.module.css'
import Style from './UserCard.module.css'
import images from '@/assets'

const UserCard = () => {
Expand Down
6 changes: 3 additions & 3 deletions Context/ChatAppContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const ChatAppProvider = ({children}) => {
const userList = await contract.getAllAppUser();
setUserLists(userList)
}catch(error){
setError("Please Install And Xonnect Your Wallet");
setError("Please Install And Connect Your Wallet");
}
}

Expand All @@ -62,8 +62,8 @@ export const ChatAppProvider = ({children}) => {
//CREATE ACCOUNT
const createAccount = async({ name, accountAddress })=>{
try{
if(name || accountAddress)
return setError("Name and AccountAddress, cannot be empty")
// if(name || accountAddress)
// return setError("Name and AccountAddress, cannot be empty")

const contract = await connectingWithContract();
const getCreatedUser = await contract.createAccount(name);
Expand Down

0 comments on commit a9a4efe

Please sign in to comment.