Skip to content

Commit

Permalink
refactor: Add 'use client' directive to Code and ImageZoom components
Browse files Browse the repository at this point in the history
  • Loading branch information
websiddu committed Dec 21, 2024
1 parent 1493220 commit cacb117
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Code/Code.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import { highlight } from 'sugar-high';
import './code.css';

Expand Down
2 changes: 2 additions & 0 deletions lib/Image/ImageZoom.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import { type ImgHTMLAttributes } from 'react';
import './image-zoom.css';
import Zoom, { type UncontrolledProps } from 'react-medium-image-zoom';
Expand Down

0 comments on commit cacb117

Please sign in to comment.