Skip to content

Commit

Permalink
add use client to client side components
Browse files Browse the repository at this point in the history
  • Loading branch information
ProKil committed Nov 22, 2024
1 parent aba978f commit e0d8b66
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
* Date: [Date]
*/

'use client';

import React, { useState } from 'react';
import './Browser.css'; // Import the CSS file

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
*
*/

'use client';

import './ChatInterface.css';
import React, { ReactNode, useState, useEffect } from 'react';
import { Socket } from 'socket.io-client'; // Import the Socket type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
*
*/

'use client';

import React from 'react';
import CodeMirror from '@uiw/react-codemirror';
import { javascript } from '@codemirror/lang-javascript';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
*
*/

'use client';

import React, { useState } from 'react';
import { ChevronRight, ChevronDown, File } from 'lucide-react';
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*
*/

'use client';

import React from 'react';
import ReactMarkdown from 'react-markdown';
import './SceneContext.css';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
*
*/

'use client';

import React from 'react';
import { FaCogs, FaFolderOpen } from 'react-icons/fa'; // Import the file icon
import './Sidebar.css';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
*
*/

'use client';

import React, { useState, useRef, useEffect } from 'react';
import { Socket } from 'socket.io-client';
import './Terminal.css';
Expand Down

0 comments on commit e0d8b66

Please sign in to comment.