Skip to content

Commit

Permalink
chore: fix import error"
Browse files Browse the repository at this point in the history
  • Loading branch information
kocierik committed Sep 16, 2023
1 parent 00272df commit a620d95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/routes/build/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import TEACHINGS from '../../config/courses.json' assert { type: 'json' };
import TEACHINGS from '../../config/courses.json';
const WORKFLOW_NAMES = ['filenames', 'build-and-deploy'];
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' assert { type: 'json' };
import TEACHINGS from '../../../config/courses.json';

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

3 comments on commit a620d95

@vercel
Copy link

@vercel vercel bot commented on a620d95 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-csunibo.vercel.app
dynamik.vercel.app
dynamik-git-main-csunibo.vercel.app

@VaiTon
Copy link
Member

@VaiTon VaiTon commented on a620d95 Sep 16, 2023

Choose a reason for hiding this comment

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

Al posto di importarle così importale da $lib/teachings

@kocierik
Copy link
Member Author

Choose a reason for hiding this comment

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

Al posto di importarle così importale da $lib/teachings

chiedo review prossima volta, sistemo scusami

Please sign in to comment.