Fixed types after updating to latest shlink components

This commit is contained in:
Alejandro Celaya 2025-11-12 14:49:23 +01:00
parent 99d6eb5f7c
commit 622fcd9db6
2 changed files with 2 additions and 4 deletions

View File

@ -18,9 +18,7 @@ const initialState: Settings = {
realTimeUpdates: {
enabled: true,
},
shortUrlCreation: {
validateUrls: false,
},
shortUrlCreation: {},
ui: {
theme: getSystemPreferredTheme(),
},

View File

@ -4,7 +4,7 @@ import { DEFAULT_SHORT_URLS_ORDERING, setSettings, settingsReducer } from '../..
describe('settingsReducer', () => {
const realTimeUpdates = { enabled: true };
const shortUrlCreation = { validateUrls: false };
const shortUrlCreation = {};
const ui = { theme: 'light' as const };
const visits = { defaultInterval: 'last30Days' as const };
const shortUrlsList = { defaultOrdering: DEFAULT_SHORT_URLS_ORDERING };