refactor: beforeExpiresAtの初期値はundefinedの方がいい

This commit is contained in:
Chocolate Pie 2023-07-05 07:15:54 +09:00
parent 5d35a37ccf
commit 0ee451af73

View file

@ -88,7 +88,7 @@ const value = computed({
expirationDate: null,
expiresAt: 'indefinitely',
forward: false,
beforeExpiresAt: null,
beforeExpiresAt: undefined,
};
for (const [key, _value] of Object.entries(data)) {
if (_value === null) {