mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-12-23 18:50:08 +00:00
Fixed types after updating to latest shlink components
This commit is contained in:
parent
99d6eb5f7c
commit
622fcd9db6
@ -18,9 +18,7 @@ const initialState: Settings = {
|
||||
realTimeUpdates: {
|
||||
enabled: true,
|
||||
},
|
||||
shortUrlCreation: {
|
||||
validateUrls: false,
|
||||
},
|
||||
shortUrlCreation: {},
|
||||
ui: {
|
||||
theme: getSystemPreferredTheme(),
|
||||
},
|
||||
|
||||
@ -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 };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user