mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Use check-types helper
This commit is contained in:
parent
fb46377e2c
commit
27ebf55bb7
4 changed files with 10 additions and 28 deletions
|
|
@ -6,6 +6,7 @@ import { getAppType, getRouteType } from '../helpers/app-derived.js'
|
|||
import { deviceSupportsApp } from '../helpers/devices.js'
|
||||
import { makeLastUpdatedFriendly } from '../helpers/parse-date.js'
|
||||
import { getStatusOfScan } from '../helpers/statuses.js'
|
||||
import { isString } from '../helpers/check-types.js'
|
||||
|
||||
|
||||
import VideoRow from '../components-eleventy/video/row.js'
|
||||
|
|
@ -16,10 +17,6 @@ import VideoRow from '../components-eleventy/video/row.js'
|
|||
// Setup dotenv
|
||||
dotenv.config()
|
||||
|
||||
function isString( maybeString ) {
|
||||
return (typeof maybeString === 'string' || maybeString instanceof String)
|
||||
}
|
||||
|
||||
export const makeTitle = function ( app ) {
|
||||
return `Does ${app.name} work on Apple Silicon? - ${ config.head.title }`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue