docs: Update README.md
This commit is contained in:
parent
5fd852a3c1
commit
40a9798eb3
1 changed files with 14 additions and 15 deletions
29
README.md
29
README.md
|
|
@ -43,21 +43,20 @@ This is my debut project utilizing Next.js, a portfolio website featuring four p
|
||||||
6. Update the Intelliticks chat widget script in components/Chat.jsx, with your own
|
6. Update the Intelliticks chat widget script in components/Chat.jsx, with your own
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
// components/Intelliticks.js
|
"use client"
|
||||||
"use client"
|
import { useEffect } from "react";
|
||||||
import { useEffect } from "react";
|
|
||||||
|
// Component for Intelliticks chat widget
|
||||||
// Component for Intelliticks chat widget
|
const Chat = () => {
|
||||||
const Chat = () => {
|
useEffect(() => {
|
||||||
useEffect(() => {
|
// Replace the Intelliticks script here
|
||||||
// Replace the Intelliticks script here
|
|
||||||
|
}, []);
|
||||||
}, []);
|
|
||||||
|
return null;
|
||||||
return null;
|
};
|
||||||
};
|
|
||||||
|
export default Chat;
|
||||||
export default Chat;
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue