refactor settingsmodal to render it globally

This commit is contained in:
Tom (plebeius.eth)
2025-03-05 12:06:27 +01:00
parent 37e325c3d2
commit b686ca3dd0
5 changed files with 9 additions and 21 deletions
-2
View File
@@ -16,7 +16,6 @@ import useInterfaceSettingsStore from '../../stores/use-interface-settings-store
import useSortingStore from '../../stores/use-sorting-store';
import CatalogRow from '../../components/catalog-row';
import LoadingEllipsis from '../../components/loading-ellipsis';
import SettingsModal from '../../components/settings-modal';
import styles from './catalog.module.css';
const lastVirtuosoStates: { [key: string]: StateSnapshot } = {};
@@ -289,7 +288,6 @@ const Catalog = () => {
return (
<div className={styles.content}>
{location.pathname.endsWith('/settings') && <SettingsModal />}
<hr />
<div className={styles.catalog}>
{combinedFeed.length !== 0 ? (