mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Added a comment
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
/**
|
||||
* The utils here are used to help developers use the example
|
||||
*/
|
||||
|
||||
export function missingLocaleInPages(): [string[], () => void] {
|
||||
const invalidPaths: string[] = []
|
||||
const log = () => {
|
||||
if (invalidPaths.length) {
|
||||
const single = invalidPaths.length === 0
|
||||
const single = invalidPaths.length === 1
|
||||
const pages = single ? 'page' : 'pages'
|
||||
|
||||
console.log(
|
||||
|
Reference in New Issue
Block a user