Skip to content

Commit

Permalink
feat: merge conflict resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonNotJson committed Sep 12, 2023
2 parents b345a28 + 36edb10 commit ca4437e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/forum/src/utils/get-school-icon-path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ import schoolIconJA from "@app/constants/school-name-icon-map-ja";
const getSchoolIconPath = (school: string, lng: string): string => {
const url = new URL(
lng === Lang.JA ? schoolIconJA[school] : schoolIconEN[school],
import.meta.url
import.meta.url || "https://wasedatime.com/syllabus"
);
return url.href;
};

export default getSchoolIconPath;

/// prevent empty

0 comments on commit ca4437e

Please sign in to comment.