apply review

This commit is contained in:
Florian LEFEBVRE committed 2021-09-27 18:05:58 +02:00
1 parent 383b564d7a
commit f350e8974e
3 files changed
+6 -12

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
import React from 'react'
import { annoucement } from '~/data/Annoucement'
import annoucement from '~/data/Annoucement.json'
const Annoucement = () => {
if (!annoucement.show) return null
+5
View File
@@ -0,0 +1,5 @@
{
"show": true,
"text": "We just raised a $30 million Series A... Discover more about it here!",
"link": "https://techcrunch.com/2021/09/09/supabase-raises-30m-for-its-open-source-insta-backend/"
}
-11
View File
@@ -1,11 +0,0 @@
type Annoucement = {
show: boolean
text: string
link: string
}
export const annoucement: Annoucement = {
show: true,
text: 'We just raised a $30 million Series A... Discover more about it here!',
link: 'https://techcrunch.com/2021/09/09/supabase-raises-30m-for-its-open-source-insta-backend/',
}