mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-03 12:52:39 +02:00
chore: ran linting
This commit is contained in:
parent
e46b24a2b1
commit
a482cc95de
67 changed files with 4971 additions and 5539 deletions
|
|
@ -1,24 +1,19 @@
|
|||
'use client';
|
||||
"use client";
|
||||
|
||||
import * as React from 'react';
|
||||
import * as React from "react";
|
||||
|
||||
import {
|
||||
useLinkToolbarButton,
|
||||
useLinkToolbarButtonState,
|
||||
} from '@platejs/link/react';
|
||||
import { Link } from 'lucide-react';
|
||||
import { useLinkToolbarButton, useLinkToolbarButtonState } from "@platejs/link/react";
|
||||
import { Link } from "lucide-react";
|
||||
|
||||
import { ToolbarButton } from './toolbar';
|
||||
import { ToolbarButton } from "./toolbar";
|
||||
|
||||
export function LinkToolbarButton(
|
||||
props: React.ComponentProps<typeof ToolbarButton>
|
||||
) {
|
||||
const state = useLinkToolbarButtonState();
|
||||
const { props: buttonProps } = useLinkToolbarButton(state);
|
||||
export function LinkToolbarButton(props: React.ComponentProps<typeof ToolbarButton>) {
|
||||
const state = useLinkToolbarButtonState();
|
||||
const { props: buttonProps } = useLinkToolbarButton(state);
|
||||
|
||||
return (
|
||||
<ToolbarButton tooltip="Link" {...props} {...buttonProps} data-plate-focus>
|
||||
<Link />
|
||||
</ToolbarButton>
|
||||
);
|
||||
return (
|
||||
<ToolbarButton tooltip="Link" {...props} {...buttonProps} data-plate-focus>
|
||||
<Link />
|
||||
</ToolbarButton>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue