fix: make contentKey type safe
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { SidePeekContentKey } from "./types"
|
||||
|
||||
export const generateSidePeekLink = (key: SidePeekContentKey) => {
|
||||
return `?sidepeek=${key}`
|
||||
}
|
||||
Reference in New Issue
Block a user