Skip to content

Commit 1260070

Browse files
committed
fix imports
1 parent 0b5bc06 commit 1260070

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/working-notes/todo3.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,7 @@ For Gallery - https://benhowell.github.io/react-grid-gallery - which is client s
485485

486486
I hope this helps, sorry I can't share my code.
487487
----
488+
// resenje
488489
glob za slike
489490
poenta, ne sme da ima {} za jednu opciju
490491
ovo puca
@@ -507,7 +508,7 @@ fix links page links color for history back view transition
507508
refactor theme script, browserDefaultMode, appDefaultMode, storedMode
508509
change meta theme bg color with js, astro-paper
509510

510-
replace import config with import.meta.env.VAR
511+
replace import config with import.meta.env.VAR
511512
ask about app start handler for log env vars
512513

513514
fix image sizes for gallery and other

src/config/client.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { SITE_URL } from 'astro:env/client';
22

3-
import { configClientSchema } from '../schemas/config';
4-
import { validateData } from '../utils/validation';
3+
import { configClientSchema } from '@/schemas/config';
4+
import { validateData } from '@/utils/validation';
55

6-
import type { ConfigClientType } from '../types/config';
6+
import type { ConfigClientType } from '@/types/config';
77

88
const configClientData: ConfigClientType = {
99
/** all urls without '/' */
@@ -24,5 +24,4 @@ const configClientData: ConfigClientType = {
2424
REPO_URL: 'https://github.com/nemanjam/nemanjam.github.io',
2525
};
2626

27-
// todo: Config should go into import.meta.env in astro.config.ts
2827
export const CONFIG_CLIENT = validateData(configClientData, configClientSchema);

0 commit comments

Comments
 (0)