Skip to content

Commit

Permalink
fix linting errors (#1039)
Browse files Browse the repository at this point in the history
Co-authored-by: Khuda Dad Nomani <[email protected]>
  • Loading branch information
helios2003 and KhudaDad414 authored Apr 2, 2024
1 parent ae7c86f commit 6194205
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState } from 'react';
import { VisualEditor, CodeEditor, Examples } from '@asyncapi/studio-ui';

export default {
const VisualEditorStory = {
component: VisualEditor,
parameters: {
layout: 'fullscreen',
Expand Down Expand Up @@ -282,3 +282,4 @@ export const nestead_array = () => (
/>
);

export default VisualEditorStory
4 changes: 1 addition & 3 deletions apps/studio-next/src/components/Editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
import { useFilesState } from '@/state/files.state';
import { CodeMirror } from './CodeMirror';

interface IEditorProps {}

export const Editor = (props: IEditorProps) => {
export const Editor = () => {
const { language, content } = useFilesState(state => state.files['asyncapi']);
const handleUpdateFile = useFilesState(state => state.updateFile);

Expand Down

0 comments on commit 6194205

Please sign in to comment.