fix: maybe fixed open tags

This commit is contained in:
2022-11-24 18:58:44 +01:00
parent 7edcc74133
commit 5adf51d1ab
5 changed files with 18 additions and 6 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
import { StateUpdater, useEffect, useState } from 'preact/hooks'
import { StateUpdater, useContext, useEffect, useState } from 'preact/hooks'
import { createContext } from 'preact'
import { prependBaseUrl, server } from './api'
@@ -6,6 +6,7 @@ import { User } from '../shared/model'
type Metadata = {
title?: string
description?: string
}
export const MetadataContext = createContext<Metadata>({})