0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-27 13:53:09 +00:00

update import paths

This commit is contained in:
Víctor Losada Hernández
2026-01-23 18:44:51 +01:00
parent dbeff56ffa
commit d6b763e62d
40 changed files with 100 additions and 93 deletions

View File

@@ -3,13 +3,13 @@ import './brewRenderer.less';
import React, { useState, useRef, useMemo, useEffect } from 'react';
import _ from 'lodash';
import MarkdownLegacy from 'markdownLegacy.js';
import Markdown from 'markdown.js';
import MarkdownLegacy from './shared/markdownLegacy.js';
import Markdown from './shared/markdown.js';
import ErrorBar from './errorBar/errorBar.jsx';
import ToolBar from './toolBar/toolBar.jsx';
//TODO: move to the brew renderer
import RenderWarnings from 'client/components/renderWarnings/renderWarnings.jsx';
import RenderWarnings from '../../components/renderWarnings/renderWarnings.jsx';
import NotificationPopup from './notificationPopup/notificationPopup.jsx';
import Frame from 'react-frame-component';
import dedent from 'dedent';

View File

@@ -1,3 +1,4 @@
@import './shared/naturalcrit/styles/colors.less';
.errorBar {
position : absolute;

View File

@@ -1,7 +1,7 @@
import './notificationPopup.less';
import React, { useEffect, useState } from 'react';
import request from '../../utils/request-middleware.js';
import Markdown from 'markdown.js';
import Markdown from './shared/markdown.js';
import Dialog from '../../../components/dialog.jsx';

View File

@@ -1,3 +1,5 @@
@import './client/homebrew/navbar/navbar.less';
.popups {
position : fixed;
top : calc(@navbarHeight + @viewerToolsHeight);

View File

@@ -43,4 +43,4 @@ function safeHTML(htmlString) {
return div.innerHTML;
};
module.exports.safeHTML = safeHTML;
export default safeHTML;