Skip to content

Commit

Permalink
Fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldong51 committed Aug 19, 2024
1 parent 5ffc984 commit 6f8b892
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
* btn2txt - string as content to fill "confirm button"
* openNoteName - Default input value for the field
*/
interface CustomInputModalProps {
type CustomInputModalProps = {

Check failure on line 34 in public/components/notebooks/components/helpers/custom_modals/custom_input_modal.tsx

View workflow job for this annotation

GitHub Actions / Lint

Use an `interface` instead of a `type`
runModal: (value: string) => void;
closeModal: (
event?: React.KeyboardEvent<HTMLDivElement> | React.MouseEvent<HTMLButtonElement, MouseEvent>
Expand All @@ -42,7 +42,7 @@ interface CustomInputModalProps {
btn2txt: string;
openNoteName: string;
helpText: string;
}
};

export const CustomInputModal = (props: CustomInputModalProps) => {
const {
Expand Down

0 comments on commit 6f8b892

Please sign in to comment.