Skip to content

Commit

Permalink
🎨 Fixed issue with codeview
Browse files Browse the repository at this point in the history
  • Loading branch information
abdheshnayak committed Feb 8, 2024
1 parent b9ba97d commit bbd8325
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/apps/console/components/code-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface ICodeView {
copy: boolean;
showShellPrompt?: boolean;
language?: string;
title: string;
title?: string;
}
const CodeView = ({
data,
Expand Down Expand Up @@ -45,7 +45,9 @@ const CodeView = ({

return (
<div className="flex flex-col gap-lg flex-1 min-w-[45%]">
<div className="bodyMd-medium text-text-default">{title}</div>
{!!title && (
<div className="bodyMd-medium text-text-default">{title}</div>
)}
<div className="bodyMd text-text-strong">
<div
onClick={() => {
Expand Down

0 comments on commit bbd8325

Please sign in to comment.