Skip to content

Commit

Permalink
fix: import
Browse files Browse the repository at this point in the history
  • Loading branch information
kocierik committed Sep 16, 2023
1 parent a620d95 commit c29f86c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/routes/+page.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import TEACHINGS from '$lib/teachings';
import type { PageLoad } from './$types';
import TEACHINGS from '../config/courses.json';

export const load = (async () => {
console.debug(TEACHINGS)
return {
courses: TEACHINGS
};
Expand Down
3 changes: 1 addition & 2 deletions src/routes/build/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<script lang="ts">
import TEACHINGS from '../../config/courses.json';
import TEACHINGS from '$lib/teachings';
const WORKFLOW_NAMES = ['filenames', 'build-and-deploy'];
const PROJECTS = [
Expand Down
2 changes: 1 addition & 1 deletion src/routes/dash/[course]/+page.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { PageLoad } from './$types';
import type { Course, Teaching, TeachingYear } from '$lib/teachings';
import { getManifest } from '$lib/api';
import TEACHINGS from '../../../config/courses.json';
import TEACHINGS from '$lib/teachings';

async function getActiveCourse(fetch: typeof window.fetch, teaching: Teaching) {
try {
Expand Down

1 comment on commit c29f86c

@vercel
Copy link

@vercel vercel bot commented on c29f86c Sep 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dynamik – ./

dynamik-git-main-csunibo.vercel.app
dynamik.vercel.app
dynamik-csunibo.vercel.app

Please sign in to comment.