mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
apply review
This commit is contained in:
1 parent
383b564d7a
commit
f350e8974e
3 files changed
+6
-12
No files matched your search
@@ -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
|
||||
|
||||
@@ -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/"
|
||||
}
|
||||
@@ -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/',
|
||||
}
|
||||
Reference in new issue
Block a user