mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-05 23:44:26 +01:00
chore: remove unused imports
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { useHelpers, useEvent, useRemirrorContext } from '@remirror/react';
|
||||
import { useHelpers, useRemirrorContext } from '@remirror/react';
|
||||
import { Control, useController } from 'react-hook-form';
|
||||
import { useDebouncedCallback } from '@react-hookz/web';
|
||||
|
||||
@@ -9,12 +9,12 @@ interface Props {
|
||||
|
||||
export default function SaveModule(props: Props) {
|
||||
|
||||
const { field: { onChange, onBlur } } = useController({
|
||||
const { field: { onChange } } = useController({
|
||||
control: props.control,
|
||||
name: props.name ?? 'content'
|
||||
})
|
||||
|
||||
const { getMarkdown, getHTML } = useHelpers();
|
||||
const { getMarkdown } = useHelpers();
|
||||
|
||||
const changeCallback = useDebouncedCallback(ctx => {
|
||||
const { state } = ctx;
|
||||
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
ControlledMenu,
|
||||
} from '@szhsin/react-menu';
|
||||
import '@szhsin/react-menu/dist/index.css';
|
||||
import { FiAward, FiChevronDown, FiFeather, FiLogIn, FiMic } from "react-icons/fi";
|
||||
import { FiChevronDown, FiLogIn } from "react-icons/fi";
|
||||
import Avatar from "src/features/Profiles/Components/Avatar/Avatar";
|
||||
|
||||
|
||||
@@ -25,8 +25,7 @@ export default function NavDesktop() {
|
||||
|
||||
|
||||
|
||||
const { isWalletConnected, curUser } = useAppSelector((state) => ({
|
||||
isWalletConnected: state.wallet.isConnected,
|
||||
const { curUser } = useAppSelector((state) => ({
|
||||
curUser: state.user.me,
|
||||
}));
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import ASSETS from "src/assets";
|
||||
import Search from "./Search/Search";
|
||||
import IconButton from "../IconButton/IconButton";
|
||||
import { useAppSelector } from "src/utils/hooks";
|
||||
import { FiAward, FiFeather, FiMenu, FiMic, } from "react-icons/fi";
|
||||
import { FiMenu, } from "react-icons/fi";
|
||||
import { Link, useNavigate } from "react-router-dom";
|
||||
import { useToggle } from "@react-hookz/web";
|
||||
import styles from './styles.module.css'
|
||||
|
||||
Reference in New Issue
Block a user