Skip to content

Commit d08a060

Browse files
committed
♻️ Fix format (#2020)
1 parent 8459911 commit d08a060

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/utils/workbooks.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { Roles } from '$lib/types/user';
2-
import { isAdmin } from '$lib/utils/authorship';
32
import { type WorkbookList } from '$lib/types/workbook';
43

4+
import { isAdmin } from '$lib/utils/authorship';
5+
56
// 管理者 + ユーザ向けに公開されている場合
67
export function canViewWorkBook(role: Roles, isPublished: boolean) {
78
return isAdmin(role) || isPublished;

0 commit comments

Comments
 (0)