8 lines
251 B
TypeScript
8 lines
251 B
TypeScript
|
import { useState } from "preact/hooks/src";
|
||
|
import { ProjectID } from "../models/project";
|
||
|
|
||
|
export const ProjectStorageKeyPrefix = "project-";
|
||
|
|
||
|
export function getProjectStorageKey(id: ProjectID): string {
|
||
|
return `${ProjectStorageKeyPrefix}${id}`
|
||
|
}
|