docs: Update README.md

This commit is contained in:
Alvalen Shafel 2023-09-29 10:30:11 +07:00 • committed by GitHub
parent 5fd852a3c1
commit 40a9798eb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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