mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Builds fresh bundle
This commit is contained in:
parent
916e795c26
commit
1e9121c8d6
File diff suppressed because one or more lines are too long
2
frontend/dist/index.html
vendored
2
frontend/dist/index.html
vendored
@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>InvokeAI - A Stable Diffusion Toolkit</title>
|
||||
<link rel="shortcut icon" type="icon" href="./assets/favicon.0d253ced.ico" />
|
||||
<script type="module" crossorigin src="./assets/index.8cec9255.js"></script>
|
||||
<script type="module" crossorigin src="./assets/index.586c87ba.js"></script>
|
||||
<link rel="stylesheet" href="./assets/index.f999e69e.css">
|
||||
</head>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { IconButton, Image } from '@chakra-ui/react';
|
||||
import { DragEvent, useState } from 'react';
|
||||
import { useState } from 'react';
|
||||
import { FaAngleLeft, FaAngleRight } from 'react-icons/fa';
|
||||
import { RootState, useAppDispatch, useAppSelector } from 'app/store';
|
||||
import {
|
||||
@ -12,19 +12,13 @@ import { createSelector } from '@reduxjs/toolkit';
|
||||
import _ from 'lodash';
|
||||
import {
|
||||
OptionsState,
|
||||
setInitialImage,
|
||||
setIsLightBoxOpen,
|
||||
} from 'features/options/store/optionsSlice';
|
||||
import ImageMetadataViewer from './ImageMetaDataViewer/ImageMetadataViewer';
|
||||
import { activeTabNameSelector } from 'features/options/store/optionsSelectors';
|
||||
|
||||
export const imagesSelector = createSelector(
|
||||
[
|
||||
(state: RootState) => state.gallery,
|
||||
(state: RootState) => state.options,
|
||||
activeTabNameSelector,
|
||||
],
|
||||
(gallery: GalleryState, options: OptionsState, activeTabName) => {
|
||||
[(state: RootState) => state.gallery, (state: RootState) => state.options],
|
||||
(gallery: GalleryState, options: OptionsState) => {
|
||||
const { currentCategory, currentImage, intermediateImage } = gallery;
|
||||
const { shouldShowImageDetails } = options;
|
||||
|
||||
@ -38,7 +32,6 @@ export const imagesSelector = createSelector(
|
||||
const imagesLength = tempImages.length;
|
||||
|
||||
return {
|
||||
activeTabName,
|
||||
imageToDisplay: intermediateImage ? intermediateImage : currentImage,
|
||||
isIntermediate: Boolean(intermediateImage),
|
||||
viewerImageToDisplay: currentImage,
|
||||
@ -68,7 +61,6 @@ export default function CurrentImagePreview() {
|
||||
shouldShowImageDetails,
|
||||
imageToDisplay,
|
||||
isIntermediate,
|
||||
activeTabName,
|
||||
} = useAppSelector(imagesSelector);
|
||||
|
||||
const [shouldShowNextPrevButtons, setShouldShowNextPrevButtons] =
|
||||
|
Loading…
Reference in New Issue
Block a user