Auto-format frontend (#2009)

* Auto-format frontend

* Update lint-frontend GA workflow node and checkout

* Fix linter error in ThemeChanger

* Add a `on: pull_request` to lint-frontend workflow

Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
This commit is contained in:
Kaspar Emanuel
2022-12-16 12:56:39 +00:00
committed by GitHub
parent c0c4d7ca69
commit 2aa5bb6aad
21 changed files with 75 additions and 49 deletions

View File

@@ -20,10 +20,15 @@ const IAITooltip = (props: IAITooltipProps) => {
<Tooltip.Portal>
<Tooltip.Content
{...contentProps}
onPointerDownOutside={(e) => {e.preventDefault()}}
onPointerDownOutside={(e) => {
e.preventDefault();
}}
className="invokeai__tooltip-content"
>
<Tooltip.Arrow {...arrowProps} className="invokeai__tooltip-arrow" />
<Tooltip.Arrow
{...arrowProps}
className="invokeai__tooltip-arrow"
/>
{children}
</Tooltip.Content>
</Tooltip.Portal>

View File

@@ -1,4 +1,4 @@
import { RefObject, useEffect} from 'react';
import { RefObject, useEffect } from 'react';
const watchers: {
ref: RefObject<HTMLElement>;

View File

@@ -1,4 +1,4 @@
import { createIcon } from "@chakra-ui/react";
import { createIcon } from '@chakra-ui/react';
const ImageToImageIcon = createIcon({
displayName: 'ImageToImageIcon',

View File

@@ -1,4 +1,4 @@
import { createIcon } from "@chakra-ui/react";
import { createIcon } from '@chakra-ui/react';
const NodesIcon = createIcon({
displayName: 'NodesIcon',

View File

@@ -1,4 +1,4 @@
import { createIcon } from "@chakra-ui/react";
import { createIcon } from '@chakra-ui/react';
const OutpaintIcon = createIcon({
displayName: 'OutpaintIcon',

View File

@@ -1,4 +1,4 @@
import { createIcon } from "@chakra-ui/react";
import { createIcon } from '@chakra-ui/react';
const TextToImageIcon = createIcon({
displayName: 'TextToImageIcon',