Commit ffd935ae1e
Unsigned
Layout: unified · split
web/src/pages/edit.astro −8
| @@ -1,14 +1,6 @@ | |||
| 1 | --- | 1 | --- |
| 2 | |||
| 3 | |||
| 4 | import Layout from '@layouts/Layout.astro'; | 2 | import Layout from '@layouts/Layout.astro'; |
| 5 | import AddNewService from '@components/things/AddNewService.svelte'; | 3 | import AddNewService from '@components/things/AddNewService.svelte'; |
| 6 | import type { AwesomePrivacy, Section } from '../types/Service'; | ||
| 7 | import { fetchData, slugify } from '@utils/fetch-data'; | ||
| 8 | import FontAwesome from '@components/form/FontAwesome.svelte'; | ||
| 9 | |||
| 10 | const categories = (await fetchData() as AwesomePrivacy)?.categories || []; | ||
| 11 | |||
| 12 | --- | 4 | --- |
| 13 | 5 | ||
| 14 | <Layout title="Awesome Privacy"> | 6 | <Layout title="Awesome Privacy"> |