Skip to content

Commit

Permalink
w3up-launch.js defaults sunsetStartEnv even if empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
gobengo authored Nov 10, 2023
1 parent 22799fe commit 168b43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/website/components/w3up-launch.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';

const sunsetStartEnv = process.env.NEXT_PUBLIC_W3UP_LAUNCH_SUNSET_START ?? '2024-01-10T00:00:00Z';
const sunsetStartEnv = process.env.NEXT_PUBLIC_W3UP_LAUNCH_SUNSET_START || '2024-01-10T00:00:00Z';
const sunsetStartDate = new Date(Date.parse(sunsetStartEnv));

/**
Expand Down

0 comments on commit 168b43d

Please sign in to comment.