mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-12 02:23:49 +00:00
Fixed types after updating to latest shlink components
This commit is contained in:
@@ -18,9 +18,7 @@ const initialState: Settings = {
|
|||||||
realTimeUpdates: {
|
realTimeUpdates: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
},
|
},
|
||||||
shortUrlCreation: {
|
shortUrlCreation: {},
|
||||||
validateUrls: false,
|
|
||||||
},
|
|
||||||
ui: {
|
ui: {
|
||||||
theme: getSystemPreferredTheme(),
|
theme: getSystemPreferredTheme(),
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import { DEFAULT_SHORT_URLS_ORDERING, setSettings, settingsReducer } from '../..
|
|||||||
|
|
||||||
describe('settingsReducer', () => {
|
describe('settingsReducer', () => {
|
||||||
const realTimeUpdates = { enabled: true };
|
const realTimeUpdates = { enabled: true };
|
||||||
const shortUrlCreation = { validateUrls: false };
|
const shortUrlCreation = {};
|
||||||
const ui = { theme: 'light' as const };
|
const ui = { theme: 'light' as const };
|
||||||
const visits = { defaultInterval: 'last30Days' as const };
|
const visits = { defaultInterval: 'last30Days' as const };
|
||||||
const shortUrlsList = { defaultOrdering: DEFAULT_SHORT_URLS_ORDERING };
|
const shortUrlsList = { defaultOrdering: DEFAULT_SHORT_URLS_ORDERING };
|
||||||
|
|||||||
Reference in New Issue
Block a user