Dark mode 2 #100

Merged
rishighan merged 35 commits from dark-mode-2 into main 2024-02-06 10:58:56 +00:00
Showing only changes of commit 3b11b648c6 - Show all commits

View File

@@ -12,6 +12,7 @@ import {
} from "../../../constants/endpoints";
import { useStore } from "../../../store";
import { useShallow } from "zustand/react/shallow";
import { escapePoundSymbol } from "../../../shared/utils/formatting.utils";
export const ArchiveOperations = (props): ReactElement => {
const { data } = props;
@@ -30,7 +31,7 @@ export const ArchiveOperations = (props): ReactElement => {
const [imageAnalysisResult, setImageAnalysisResult] = useState({});
const constructImagePaths = (data): Array<string> => {
return data?.map((path: string) =>
encodeURIComponent(`${LIBRARY_SERVICE_HOST}/${path}`),
escapePoundSymbol(encodeURI(`${LIBRARY_SERVICE_HOST}/${path}`)),
);
};