Skip to content

Commit

Permalink
imports updated for notification component
Browse files Browse the repository at this point in the history
  • Loading branch information
RachelDau committed Jan 23, 2024
1 parent d6ca441 commit fce6ab2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import './notification.scss'
const React = require('react')
require('./notification.scss')

const Notification = () => {
const [notifications, setNotifications] = React.useState([])
Expand Down Expand Up @@ -63,4 +63,4 @@ const Notification = () => {
}
}

export default Notification
module.exports = Notification
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ require('./repository-nav.scss')

const React = require('react')
const Avatar = require('./avatar')
const { check } = require('express-validator')
const Notification = require('./notification.jsx').default
const Notification = require('./notification')

const RepositoryNav = props => {
let timeOutId
Expand Down

0 comments on commit fce6ab2

Please sign in to comment.