Fix scope
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Sun, Moon, Share, Check, Trash, CaretDown, Warning, Plus } from "@phosphor-icons/react";
|
||||
import { BlockRenderer, validateBlocks } from "@emdashcms/blocks";
|
||||
import type { Block, BlockInteraction } from "@emdashcms/blocks";
|
||||
import { BlockRenderer, validateBlocks } from "@emdash-cms/blocks";
|
||||
import type { Block, BlockInteraction } from "@emdash-cms/blocks";
|
||||
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
||||
|
||||
import { blockCatalog } from "./block-defaults";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Block } from "@emdashcms/blocks";
|
||||
import type { Block } from "@emdash-cms/blocks";
|
||||
|
||||
interface BlockCatalogEntry {
|
||||
type: Block["type"];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Block, ChartSeries } from "@emdashcms/blocks";
|
||||
import type { Block, ChartSeries } from "@emdash-cms/blocks";
|
||||
|
||||
export interface Template {
|
||||
name: string;
|
||||
@@ -508,7 +508,7 @@ export const templates: Template[] = [
|
||||
},
|
||||
{
|
||||
type: "code",
|
||||
code: 'import { blocks } from "@emdashcms/blocks";\n\nconst page = [\n\tblocks.header("Hello"),\n\tblocks.section("Welcome to EmDash."),\n];',
|
||||
code: 'import { blocks } from "@emdash-cms/blocks";\n\nconst page = [\n\tblocks.header("Hello"),\n\tblocks.section("Welcome to EmDash."),\n];',
|
||||
language: "ts",
|
||||
},
|
||||
{ type: "divider" },
|
||||
|
||||
Reference in New Issue
Block a user