move components folder and fix build errors (#18)
* move components folder and fix build errors Fixes https://github.com/owncast/owncast/issues/689 * Prettified Code! Co-authored-by: nebunez <nebunez@users.noreply.github.com>
This commit is contained in:
@@ -3,9 +3,8 @@ import PropTypes from 'prop-types';
|
||||
|
||||
export const AlertMessageContext = React.createContext({
|
||||
message: null,
|
||||
setMessage: (text?: string) => {
|
||||
return text;
|
||||
},
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
setMessage: (text?: string) => null,
|
||||
});
|
||||
|
||||
const AlertMessageProvider = ({ children }) => {
|
||||
|
||||
Reference in New Issue
Block a user