Skip to content

Commit

Permalink
fox
Browse files Browse the repository at this point in the history
  • Loading branch information
calvo-jp committed Mar 26, 2024
1 parent 44d9c91 commit b21b5a1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions website/src/app/utils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type {Html, Icon} from '@/app/types';
import {unstable_cache as cache} from 'next/cache';
import type { Html, Icon } from '@/app/types';
import { unstable_cache as cache } from 'next/cache';
import prettier from 'prettier';
import {codeToHtml} from 'shiki';
import { codeToHtml } from 'shiki';
import * as svgson from 'svgson';
import database from './database.json';

Expand Down Expand Up @@ -228,7 +228,6 @@ async function toSvelteSnippet(svg: Html) {

async function toHtmlSnippet(svg: Html) {
const node = await svgson.parse(svg, {
camelcase: true,
transformNode(node) {
if (node.name === 'svg') {
return {
Expand Down

0 comments on commit b21b5a1

Please sign in to comment.