0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-23 00:08:11 +00:00

fix module.exports

This commit is contained in:
Víctor Losada Hernández
2026-01-20 19:56:37 +01:00
parent bfe2c11548
commit 0d6c3c7e33
90 changed files with 148 additions and 194 deletions

View File

@@ -1,7 +1,6 @@
require('./notificationAdd.less');
const React = require('react');
const { useState, useRef } = require('react');
const request = require('superagent');
import React, { useState, useRef } from 'react';
import request from 'superagent';
const NotificationAdd = ()=>{
const [notificationResult, setNotificationResult] = useState(null);
@@ -106,4 +105,4 @@ const NotificationAdd = ()=>{
);
};
module.exports = NotificationAdd;
export default NotificationAdd;