Start renaming
This commit is contained in:
@@ -33,7 +33,7 @@ function reconnect() {
|
||||
if (backoffIdx === 0) {
|
||||
// deno-lint-ignore no-console
|
||||
console.log(
|
||||
`%c Fresh %c Connection closed. Trying to reconnect...`,
|
||||
`%c Sweet %c Connection closed. Trying to reconnect...`,
|
||||
"background-color: #86efac; color: black",
|
||||
"color: inherit",
|
||||
);
|
||||
@@ -85,7 +85,7 @@ function handleMessage(e: MessageEvent) {
|
||||
if (revision === 0) {
|
||||
// deno-lint-ignore no-console
|
||||
console.log(
|
||||
`%c Fresh %c Connected to development server.`,
|
||||
`%c Sweet %c Connected to development server.`,
|
||||
"background-color: #86efac; color: black",
|
||||
"color: inherit",
|
||||
);
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
type InternalPreactOptions,
|
||||
OptionsType,
|
||||
} from "../shared_internal.ts";
|
||||
import { BUILD_ID } from "@fresh/build-id";
|
||||
import { BUILD_ID } from "@paulaboks/sweet-build-id";
|
||||
import { renderToString } from "preact-render-to-string";
|
||||
import { useContext, useEffect } from "preact/hooks";
|
||||
import { HeadContext } from "../head.ts";
|
||||
|
||||
@@ -176,7 +176,7 @@ export function boot(
|
||||
: `partial "${root.name}"`;
|
||||
// deno-lint-ignore no-console
|
||||
console.error(
|
||||
`Fresh hydration error: the ${label} has invalid HTML nesting. ` +
|
||||
`Sweet hydration error: the ${label} has invalid HTML nesting. ` +
|
||||
`Its start and end markers were reparented by the browser into ` +
|
||||
`different DOM nodes. This is usually caused by placing a ` +
|
||||
`block-level element (like <div>) inside an inline element ` +
|
||||
|
||||
Reference in New Issue
Block a user